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

Side by Side Diff: mojo/dart/embedder/dart_controller.cc

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/callback.h" 6 #include "base/callback.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/sys_info.h" 13 #include "base/sys_info.h"
14 #include "dart/runtime/include/dart_api.h"
15 #include "dart/runtime/include/dart_native_api.h"
16 #include "mojo/dart/embedder/builtin.h" 14 #include "mojo/dart/embedder/builtin.h"
17 #include "mojo/dart/embedder/dart_controller.h" 15 #include "mojo/dart/embedder/dart_controller.h"
18 #include "mojo/dart/embedder/mojo_dart_state.h" 16 #include "mojo/dart/embedder/mojo_dart_state.h"
19 #include "mojo/dart/embedder/vmservice.h" 17 #include "mojo/dart/embedder/vmservice.h"
20 #include "mojo/message_pump/message_pump_mojo.h" 18 #include "mojo/message_pump/message_pump_mojo.h"
21 #include "mojo/public/c/system/core.h" 19 #include "mojo/public/c/system/core.h"
20 #include "mojo/public/third_party/dart/runtime/include/dart_api.h"
21 #include "mojo/public/third_party/dart/runtime/include/dart_native_api.h"
22 #include "tonic/dart_converter.h" 22 #include "tonic/dart_converter.h"
23 #include "tonic/dart_debugger.h" 23 #include "tonic/dart_debugger.h"
24 #include "tonic/dart_dependency_catcher.h" 24 #include "tonic/dart_dependency_catcher.h"
25 #include "tonic/dart_error.h" 25 #include "tonic/dart_error.h"
26 #include "tonic/dart_library_loader.h" 26 #include "tonic/dart_library_loader.h"
27 #include "tonic/dart_library_provider.h" 27 #include "tonic/dart_library_provider.h"
28 #include "tonic/dart_library_provider_files.h" 28 #include "tonic/dart_library_provider_files.h"
29 #include "tonic/dart_library_provider_network.h" 29 #include "tonic/dart_library_provider_network.h"
30 #include "tonic/dart_script_loader_sync.h" 30 #include "tonic/dart_script_loader_sync.h"
31 31
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 } 701 }
702 BlockForServiceIsolateLocked(); 702 BlockForServiceIsolateLocked();
703 StopHandleWatcherIsolate(); 703 StopHandleWatcherIsolate();
704 Dart_Cleanup(); 704 Dart_Cleanup();
705 service_isolate_running_ = false; 705 service_isolate_running_ = false;
706 initialized_ = false; 706 initialized_ = false;
707 } 707 }
708 708
709 } // namespace apps 709 } // namespace apps
710 } // namespace mojo 710 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698