diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-06 01:00:46 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-18 17:26:06 -0800 |
commit | 4303ba97313458491e038d78efa041d41cf7bb43 (patch) | |
tree | 5a5873651db918416c9ff63f4bb06b6eb7f4c71a /runtime/Android.mk | |
parent | a971100be7870544360fa8a46311ef7f5adb6902 (diff) | |
download | art-4303ba97313458491e038d78efa041d41cf7bb43.tar.gz art-4303ba97313458491e038d78efa041d41cf7bb43.tar.bz2 art-4303ba97313458491e038d78efa041d41cf7bb43.zip |
ART: Track Flush & Close in FdFile
Implement a check that aborts when a file hasn't been explicitly
flushed and closed when it is destructed.
Add WARN_UNUSED to FdFile methods.
Update dex2oat, patchoat, scoped_flock and some gtests to pass with
this.
(cherry picked from commit 9433ec60b325b708b9fa87e699ab4a6565741494)
Change-Id: I9ab03b1653e69f44cc98946dc89d764c3e045dd4
Diffstat (limited to 'runtime/Android.mk')
-rw-r--r-- | runtime/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/Android.mk b/runtime/Android.mk index 25fe45f5cd..58f7940eda 100644 --- a/runtime/Android.mk +++ b/runtime/Android.mk @@ -302,6 +302,7 @@ LIBART_ENUM_OPERATOR_OUT_HEADER_FILES := \ base/allocator.h \ base/mutex.h \ debugger.h \ + base/unix_file/fd_file.h \ dex_file.h \ dex_instruction.h \ gc/allocator/rosalloc.h \ |