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

Side by Side Diff: runtime/bin/vmservice/loader.dart

Issue 2940513002: Revert "[fuchsia] Prepare for setting the Dart target architecture appropriately in the host binari… (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/observatory/BUILD.gn » ('j') | 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 part of vmservice_io; 5 part of vmservice_io;
6 6
7 _sanitizeWindowsPath(path) { 7 _sanitizeWindowsPath(path) {
8 // For Windows we need to massage the paths a bit according to 8 // For Windows we need to massage the paths a bit according to
9 // http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx 9 // http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx
10 // 10 //
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 } 259 }
260 if (_traceLoading) { 260 if (_traceLoading) {
261 _log("Resolved '$uri' to '$resolvedUri'."); 261 _log("Resolved '$uri' to '$resolvedUri'.");
262 } 262 }
263 return resolvedUri; 263 return resolvedUri;
264 } 264 }
265 265
266 RawReceivePort _packagesPort; 266 RawReceivePort _packagesPort;
267 267
268 void _requestPackagesMap([Uri packageConfig]) { 268 void _requestPackagesMap([Uri packageConfig]) {
269 assert(_rootScript != null);
269 if (_packagesPort != null) { 270 if (_packagesPort != null) {
270 // Already scheduled. 271 // Already scheduled.
271 return; 272 return;
272 } 273 }
273 // Create a port to receive the packages map on. 274 // Create a port to receive the packages map on.
274 _packagesPort = new RawReceivePort(_handlePackagesReply); 275 _packagesPort = new RawReceivePort(_handlePackagesReply);
275 var sp = _packagesPort.sendPort; 276 var sp = _packagesPort.sendPort;
276 277
277 if (packageConfig != null) { 278 if (packageConfig != null) {
278 // Explicitly specified .packages path. 279 // Explicitly specified .packages path.
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 msg[3] = null; 1160 msg[3] = null;
1160 msg[4] = e.toString(); 1161 msg[4] = e.toString();
1161 sp.send(msg); 1162 sp.send(msg);
1162 } 1163 }
1163 }); 1164 });
1164 break; 1165 break;
1165 default: 1166 default:
1166 _log('Unknown loader request tag=$tag from $isolateId'); 1167 _log('Unknown loader request tag=$tag from $isolateId');
1167 } 1168 }
1168 } 1169 }
OLDNEW
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | runtime/observatory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698