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

Side by Side Diff: mojo/dart/embedder/vmservice.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/dart/embedder/vmservice.h" 5 #include "mojo/dart/embedder/vmservice.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "dart/runtime/include/dart_api.h"
9 #include "mojo/dart/embedder/builtin.h" 8 #include "mojo/dart/embedder/builtin.h"
10 #include "mojo/dart/embedder/common.h" 9 #include "mojo/dart/embedder/common.h"
11 #include "mojo/dart/embedder/dart_controller.h" 10 #include "mojo/dart/embedder/dart_controller.h"
11 #include "mojo/public/third_party/dart/runtime/include/dart_api.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace dart { 14 namespace dart {
15 15
16 #define RETURN_ERROR_HANDLE(handle) \ 16 #define RETURN_ERROR_HANDLE(handle) \
17 if (Dart_IsError(handle)) { \ 17 if (Dart_IsError(handle)) { \
18 return handle; \ 18 return handle; \
19 } 19 }
20 20
21 #define SHUTDOWN_ON_ERROR(handle) \ 21 #define SHUTDOWN_ON_ERROR(handle) \
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 Dart_Handle source = GetSource(url_string); 333 Dart_Handle source = GetSource(url_string);
334 if (Dart_IsError(source)) { 334 if (Dart_IsError(source)) {
335 return source; 335 return source;
336 } 336 }
337 return Dart_LoadSource(library, url, source, 0, 0); 337 return Dart_LoadSource(library, url, source, 0, 0);
338 } 338 }
339 339
340 340
341 } // namespace dart 341 } // namespace dart
342 } // namespace mojo 342 } // namespace mojo
OLDNEW
« DEPS ('K') | « mojo/dart/embedder/mojo_natives.cc ('k') | mojo/public/dart/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698