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

Unified Diff: runtime/bin/embedded_dart_io.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
Index: runtime/bin/embedded_dart_io.cc
diff --git a/runtime/bin/embedded_dart_io.cc b/runtime/bin/embedded_dart_io.cc
index 9e38f028734a818ec3c0f6133f54d44162746cc9..8b1b7fb785c2f097d7185f4261af749774d4db24 100644
--- a/runtime/bin/embedded_dart_io.cc
+++ b/runtime/bin/embedded_dart_io.cc
@@ -4,6 +4,7 @@
#include "bin/embedded_dart_io.h"
+#include "bin/directory.h"
#include "bin/eventhandler.h"
#include "bin/utils.h"
#include "bin/thread.h"
@@ -18,5 +19,10 @@ void BootstrapDartIo() {
EventHandler::Start();
}
+
+void SetSystemTempDirectory(const char* system_temp) {
+ Directory::SetSystemTemp(system_temp);
+}
+
} // namespace bin
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698