diff options
Diffstat (limited to 'libartbase/base/file_utils.h')
-rw-r--r-- | libartbase/base/file_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libartbase/base/file_utils.h b/libartbase/base/file_utils.h index 6fc1caab2e..33ea2e9e4a 100644 --- a/libartbase/base/file_utils.h +++ b/libartbase/base/file_utils.h @@ -80,6 +80,10 @@ std::string GetDefaultBootImageLocation(const std::string& android_root, // Returns the boot image path of the provided jar, on /system or /data. std::string GetBootImagePath(bool on_system, const std::string& jar_path); +// Allows the name to be used for the dalvik cache directory (normally "dalvik-cache") to be +// overridden with a new value. +void OverrideDalvikCacheSubDirectory(std::string sub_dir); + // Return true if we found the dalvik cache and stored it in the dalvik_cache argument. // `have_android_data` will be set to true if we have an ANDROID_DATA that exists, // `dalvik_cache_exists` will be true if there is a dalvik-cache directory that is present. |