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

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

Issue 1462533002: Fix running standalone-precompiled when passing a package-root/-file/-map. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 <stdlib.h> 5 #include <stdlib.h>
6 #include <string.h> 6 #include <string.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 #include "include/dart_tools_api.h" 10 #include "include/dart_tools_api.h"
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 } 1242 }
1243 } 1243 }
1244 1244
1245 if (has_noopt || has_gen_precompiled_snapshot) { 1245 if (has_noopt || has_gen_precompiled_snapshot) {
1246 Dart_QualifiedFunctionName standalone_entry_points[] = { 1246 Dart_QualifiedFunctionName standalone_entry_points[] = {
1247 { "dart:_builtin", "::", "_getMainClosure" }, 1247 { "dart:_builtin", "::", "_getMainClosure" },
1248 { "dart:_builtin", "::", "_getPrintClosure" }, 1248 { "dart:_builtin", "::", "_getPrintClosure" },
1249 { "dart:_builtin", "::", "_getUriBaseClosure" }, 1249 { "dart:_builtin", "::", "_getUriBaseClosure" },
1250 { "dart:_builtin", "::", "_resolveUri" }, 1250 { "dart:_builtin", "::", "_resolveUri" },
1251 { "dart:_builtin", "::", "_setWorkingDirectory" }, 1251 { "dart:_builtin", "::", "_setWorkingDirectory" },
1252 { "dart:_builtin", "::", "_setPackageRoot" },
1253 { "dart:_builtin", "::", "_addPackageMapEntry" },
1254 { "dart:_builtin", "::", "_loadPackagesMap" },
1252 { "dart:_builtin", "::", "_loadDataAsync" }, 1255 { "dart:_builtin", "::", "_loadDataAsync" },
1253 { "dart:io", "::", "_makeUint8ListView" }, 1256 { "dart:io", "::", "_makeUint8ListView" },
1254 { "dart:io", "::", "_makeDatagram" }, 1257 { "dart:io", "::", "_makeDatagram" },
1255 { "dart:io", "::", "_setupHooks" }, 1258 { "dart:io", "::", "_setupHooks" },
1256 { "dart:io", "::", "_getWatchSignalInternal" }, 1259 { "dart:io", "::", "_getWatchSignalInternal" },
1257 { "dart:io", "CertificateException", "CertificateException." }, 1260 { "dart:io", "CertificateException", "CertificateException." },
1258 { "dart:io", "HandshakeException", "HandshakeException." }, 1261 { "dart:io", "HandshakeException", "HandshakeException." },
1259 { "dart:io", "OSError", "OSError." }, 1262 { "dart:io", "OSError", "OSError." },
1260 { "dart:io", "TlsException", "TlsException." }, 1263 { "dart:io", "TlsException", "TlsException." },
1261 { "dart:io", "X509Certificate", "X509Certificate._" }, 1264 { "dart:io", "X509Certificate", "X509Certificate._" },
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 Platform::Exit(Process::GlobalExitCode()); 1522 Platform::Exit(Process::GlobalExitCode());
1520 } 1523 }
1521 1524
1522 } // namespace bin 1525 } // namespace bin
1523 } // namespace dart 1526 } // namespace dart
1524 1527
1525 int main(int argc, char** argv) { 1528 int main(int argc, char** argv) {
1526 dart::bin::main(argc, argv); 1529 dart::bin::main(argc, argv);
1527 UNREACHABLE(); 1530 UNREACHABLE();
1528 } 1531 }
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