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 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1400 result = Dart_CompileAll(); | 1400 result = Dart_CompileAll(); |
1401 CHECK_RESULT(result); | 1401 CHECK_RESULT(result); |
1402 } | 1402 } |
1403 | 1403 |
1404 if (is_noopt || (gen_snapshot_kind == kAppAOT)) { | 1404 if (is_noopt || (gen_snapshot_kind == kAppAOT)) { |
1405 Dart_QualifiedFunctionName standalone_entry_points[] = { | 1405 Dart_QualifiedFunctionName standalone_entry_points[] = { |
1406 { "dart:_builtin", "::", "_getMainClosure" }, | 1406 { "dart:_builtin", "::", "_getMainClosure" }, |
1407 { "dart:_builtin", "::", "_getPrintClosure" }, | 1407 { "dart:_builtin", "::", "_getPrintClosure" }, |
1408 { "dart:_builtin", "::", "_getUriBaseClosure" }, | 1408 { "dart:_builtin", "::", "_getUriBaseClosure" }, |
1409 { "dart:_builtin", "::", "_resolveInWorkingDirectory" }, | 1409 { "dart:_builtin", "::", "_resolveInWorkingDirectory" }, |
1410 { "dart:_builtin", "::", "_resolveUri" }, | |
1411 { "dart:_builtin", "::", "_setWorkingDirectory" }, | 1410 { "dart:_builtin", "::", "_setWorkingDirectory" }, |
1412 { "dart:_builtin", "::", "_setPackageRoot" }, | 1411 { "dart:_builtin", "::", "_setPackageRoot" }, |
1413 { "dart:_builtin", "::", "_libraryFilePath" }, | 1412 { "dart:_builtin", "::", "_libraryFilePath" }, |
1414 { "dart:io", "::", "_makeUint8ListView" }, | 1413 { "dart:io", "::", "_makeUint8ListView" }, |
1415 { "dart:io", "::", "_makeDatagram" }, | 1414 { "dart:io", "::", "_makeDatagram" }, |
1416 { "dart:io", "::", "_setupHooks" }, | 1415 { "dart:io", "::", "_setupHooks" }, |
1417 { "dart:io", "::", "_getWatchSignalInternal" }, | 1416 { "dart:io", "::", "_getWatchSignalInternal" }, |
1418 { "dart:io", "CertificateException", "CertificateException." }, | 1417 { "dart:io", "CertificateException", "CertificateException." }, |
1419 { "dart:io", "Directory", "Directory." }, | 1418 { "dart:io", "Directory", "Directory." }, |
1420 { "dart:io", "File", "File." }, | 1419 { "dart:io", "File", "File." }, |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1749 Platform::Exit(Process::GlobalExitCode()); | 1748 Platform::Exit(Process::GlobalExitCode()); |
1750 } | 1749 } |
1751 | 1750 |
1752 } // namespace bin | 1751 } // namespace bin |
1753 } // namespace dart | 1752 } // namespace dart |
1754 | 1753 |
1755 int main(int argc, char** argv) { | 1754 int main(int argc, char** argv) { |
1756 dart::bin::main(argc, argv); | 1755 dart::bin::main(argc, argv); |
1757 UNREACHABLE(); | 1756 UNREACHABLE(); |
1758 } | 1757 } |
OLD | NEW |