OLD | NEW |
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 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1381 if (compile_all) { | 1381 if (compile_all) { |
1382 result = Dart_CompileAll(); | 1382 result = Dart_CompileAll(); |
1383 CHECK_RESULT(result); | 1383 CHECK_RESULT(result); |
1384 } | 1384 } |
1385 | 1385 |
1386 if (is_noopt || (gen_snapshot_kind == kAppAOT)) { | 1386 if (is_noopt || (gen_snapshot_kind == kAppAOT)) { |
1387 Dart_QualifiedFunctionName standalone_entry_points[] = { | 1387 Dart_QualifiedFunctionName standalone_entry_points[] = { |
1388 { "dart:_builtin", "::", "_getMainClosure" }, | 1388 { "dart:_builtin", "::", "_getMainClosure" }, |
1389 { "dart:_builtin", "::", "_getPrintClosure" }, | 1389 { "dart:_builtin", "::", "_getPrintClosure" }, |
1390 { "dart:_builtin", "::", "_getUriBaseClosure" }, | 1390 { "dart:_builtin", "::", "_getUriBaseClosure" }, |
| 1391 { "dart:_builtin", "::", "_resolveInWorkingDirectory" }, |
1391 { "dart:_builtin", "::", "_resolveUri" }, | 1392 { "dart:_builtin", "::", "_resolveUri" }, |
1392 { "dart:_builtin", "::", "_setWorkingDirectory" }, | 1393 { "dart:_builtin", "::", "_setWorkingDirectory" }, |
1393 { "dart:_builtin", "::", "_setPackageRoot" }, | 1394 { "dart:_builtin", "::", "_setPackageRoot" }, |
1394 { "dart:_builtin", "::", "_loadPackagesMap" }, | 1395 { "dart:_builtin", "::", "_libraryFilePath" }, |
1395 { "dart:_builtin", "::", "_loadDataAsync" }, | |
1396 { "dart:io", "::", "_makeUint8ListView" }, | 1396 { "dart:io", "::", "_makeUint8ListView" }, |
1397 { "dart:io", "::", "_makeDatagram" }, | 1397 { "dart:io", "::", "_makeDatagram" }, |
1398 { "dart:io", "::", "_setupHooks" }, | 1398 { "dart:io", "::", "_setupHooks" }, |
1399 { "dart:io", "::", "_getWatchSignalInternal" }, | 1399 { "dart:io", "::", "_getWatchSignalInternal" }, |
1400 { "dart:io", "CertificateException", "CertificateException." }, | 1400 { "dart:io", "CertificateException", "CertificateException." }, |
1401 { "dart:io", "Directory", "Directory." }, | 1401 { "dart:io", "Directory", "Directory." }, |
1402 { "dart:io", "File", "File." }, | 1402 { "dart:io", "File", "File." }, |
1403 { "dart:io", "FileSystemException", "FileSystemException." }, | 1403 { "dart:io", "FileSystemException", "FileSystemException." }, |
1404 { "dart:io", "HandshakeException", "HandshakeException." }, | 1404 { "dart:io", "HandshakeException", "HandshakeException." }, |
1405 { "dart:io", "Link", "Link." }, | 1405 { "dart:io", "Link", "Link." }, |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1733 Platform::Exit(Process::GlobalExitCode()); | 1733 Platform::Exit(Process::GlobalExitCode()); |
1734 } | 1734 } |
1735 | 1735 |
1736 } // namespace bin | 1736 } // namespace bin |
1737 } // namespace dart | 1737 } // namespace dart |
1738 | 1738 |
1739 int main(int argc, char** argv) { | 1739 int main(int argc, char** argv) { |
1740 dart::bin::main(argc, argv); | 1740 dart::bin::main(argc, argv); |
1741 UNREACHABLE(); | 1741 UNREACHABLE(); |
1742 } | 1742 } |
OLD | NEW |