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

Side by Side Diff: runtime/bin/vmservice_dartium.cc

Issue 2131603003: Fix the Dartium build (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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/vmservice_dartium.h" 5 #include "bin/vmservice_dartium.h"
6 6
7 #include "bin/builtin.h" 7 #include "bin/builtin.h"
8 #include "bin/dartutils.h" 8 #include "bin/dartutils.h"
9 #include "bin/eventhandler.h" 9 #include "bin/eventhandler.h"
10 #include "bin/platform.h" 10 #include "bin/platform.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 return 0; 58 return 0;
59 } 59 }
60 60
61 Dart_EnterScope(); 61 Dart_EnterScope();
62 Builtin::SetNativeResolver(Builtin::kBuiltinLibrary); 62 Builtin::SetNativeResolver(Builtin::kBuiltinLibrary);
63 Builtin::SetNativeResolver(Builtin::kIOLibrary); 63 Builtin::SetNativeResolver(Builtin::kIOLibrary);
64 64
65 ASSERT(Dart_IsServiceIsolate(isolate)); 65 ASSERT(Dart_IsServiceIsolate(isolate));
66 if (!VmService::Setup(DEFAULT_VM_SERVICE_SERVER_IP, 66 if (!VmService::Setup(DEFAULT_VM_SERVICE_SERVER_IP,
67 DEFAULT_VM_SERVICE_SERVER_PORT, 67 DEFAULT_VM_SERVICE_SERVER_PORT,
68 false /* running_precompiled */)) { 68 false /* running_precompiled */,
69 false /* disable origin checks */)) {
69 fprintf(stderr, 70 fprintf(stderr,
70 "Vmservice::Setup failed: %s\n", VmService::GetErrorMessage()); 71 "Vmservice::Setup failed: %s\n", VmService::GetErrorMessage());
71 isolate = NULL; 72 isolate = NULL;
72 } 73 }
73 Dart_ExitScope(); 74 Dart_ExitScope();
74 Dart_ExitIsolate(); 75 Dart_ExitIsolate();
75 return isolate; 76 return isolate;
76 } 77 }
77 78
78 79
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 151
151 152
152 /* DISALLOW_ALLOCATION */ 153 /* DISALLOW_ALLOCATION */
153 void VmServiceServer::operator delete(void* pointer) { 154 void VmServiceServer::operator delete(void* pointer) {
154 fprintf(stderr, "unreachable code\n"); 155 fprintf(stderr, "unreachable code\n");
155 abort(); 156 abort();
156 } 157 }
157 158
158 } // namespace bin 159 } // namespace bin
159 } // namespace dart 160 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698