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

Unified Diff: runtime/vm/service_isolate.cc

Issue 2063303002: Fix product build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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/vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service_isolate.cc
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc
index 6d5f68175545365c4ff9921f9d6756a3193d3604..c73c1769c52403a8631a0b871225179febbedfd8 100644
--- a/runtime/vm/service_isolate.cc
+++ b/runtime/vm/service_isolate.cc
@@ -458,7 +458,9 @@ void ServiceIsolate::Run() {
// Grab the isolate create callback here to avoid race conditions with tests
// that change this after Dart_Initialize returns.
create_callback_ = Isolate::CreateCallback();
- DevFS::Init();
+ if (FLAG_support_service) {
+ DevFS::Init();
+ }
Dart::thread_pool()->Run(new RunServiceTask());
}
@@ -507,7 +509,9 @@ void ServiceIsolate::Shutdown() {
free(server_address_);
server_address_ = NULL;
}
- DevFS::Cleanup();
+ if (FLAG_support_service) {
+ DevFS::Cleanup();
+ }
}
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698