Index: runtime/bin/directory_android.cc |
diff --git a/runtime/bin/directory_android.cc b/runtime/bin/directory_android.cc |
index 95f42da62baee6bd925ece63f815ff0b676d82e8..75ca974019c2be7db22a1002c35ac00d339f7d55 100644 |
--- a/runtime/bin/directory_android.cc |
+++ b/runtime/bin/directory_android.cc |
@@ -403,6 +403,9 @@ bool Directory::Create(const char* dir_name) { |
const char* Directory::SystemTemp() { |
+ if (Directory::system_temp_path_override_ != NULL) { |
+ return DartUtils::ScopedCopyCString(Directory::system_temp_path_override_); |
+ } |
// Android does not have a /tmp directory. A partial substitute, |
// suitable for bring-up work and tests, is to create a tmp |
// directory in /data/local/tmp. |