Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1145)

Unified Diff: runtime/bin/directory_android.cc

Issue 2156243002: Fix DevFS on Android devices (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/directory.cc ('k') | runtime/bin/embedded_dart_io.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « runtime/bin/directory.cc ('k') | runtime/bin/embedded_dart_io.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698