diff options
Diffstat (limited to 'runtime/utils.h')
-rw-r--r-- | runtime/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/utils.h b/runtime/utils.h index 6dee5fed7e..6708c673e6 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -511,6 +511,9 @@ const char* GetAndroidData(); // Find $ANDROID_DATA, /data, or return nullptr. const char* GetAndroidDataSafe(std::string* error_msg); +// Returns the dalvik-cache location, with subdir appended. Returns the empty string if the cache +// could not be found (or created). +std::string GetDalvikCache(const char* subdir, bool create_if_absent = true); // Returns the dalvik-cache location, or dies trying. subdir will be // appended to the cache location. std::string GetDalvikCacheOrDie(const char* subdir, bool create_if_absent = true); |