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

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

Issue 2998373002: [dart:io] Move _getUriBaseClosure to dart:io (Closed)
Patch Set: Created 3 years, 4 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/directory_patch.dart ('k') | 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 <stdio.h> 5 #include <stdio.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.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 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 CHECK_RESULT(result); 1492 CHECK_RESULT(result);
1493 Dart_ExitScope(); 1493 Dart_ExitScope();
1494 // Shutdown the isolate. 1494 // Shutdown the isolate.
1495 Dart_ShutdownIsolate(); 1495 Dart_ShutdownIsolate();
1496 return false; 1496 return false;
1497 } 1497 }
1498 1498
1499 if (gen_snapshot_kind == kAppAOT) { 1499 if (gen_snapshot_kind == kAppAOT) {
1500 Dart_QualifiedFunctionName standalone_entry_points[] = { 1500 Dart_QualifiedFunctionName standalone_entry_points[] = {
1501 {"dart:_builtin", "::", "_getPrintClosure"}, 1501 {"dart:_builtin", "::", "_getPrintClosure"},
1502 {"dart:_builtin", "::", "_getUriBaseClosure"},
1503 {"dart:_builtin", "::", "_libraryFilePath"}, 1502 {"dart:_builtin", "::", "_libraryFilePath"},
1504 {"dart:_builtin", "::", "_resolveInWorkingDirectory"}, 1503 {"dart:_builtin", "::", "_resolveInWorkingDirectory"},
1505 {"dart:_builtin", "::", "_setPackageRoot"}, 1504 {"dart:_builtin", "::", "_setPackageRoot"},
1506 {"dart:_builtin", "::", "_setPackagesMap"}, 1505 {"dart:_builtin", "::", "_setPackagesMap"},
1507 {"dart:_builtin", "::", "_setWorkingDirectory"}, 1506 {"dart:_builtin", "::", "_setWorkingDirectory"},
1508 {"dart:async", "::", "_setScheduleImmediateClosure"}, 1507 {"dart:async", "::", "_setScheduleImmediateClosure"},
1509 {"dart:io", "::", "_getWatchSignalInternal"}, 1508 {"dart:io", "::", "_getWatchSignalInternal"},
1509 {"dart:io", "::", "_getUriBaseClosure"},
1510 {"dart:io", "::", "_makeDatagram"}, 1510 {"dart:io", "::", "_makeDatagram"},
1511 {"dart:io", "::", "_makeUint8ListView"}, 1511 {"dart:io", "::", "_makeUint8ListView"},
1512 {"dart:io", "::", "_setupHooks"}, 1512 {"dart:io", "::", "_setupHooks"},
1513 {"dart:io", "CertificateException", "CertificateException."}, 1513 {"dart:io", "CertificateException", "CertificateException."},
1514 {"dart:io", "Directory", "Directory."}, 1514 {"dart:io", "Directory", "Directory."},
1515 {"dart:io", "File", "File."}, 1515 {"dart:io", "File", "File."},
1516 {"dart:io", "FileSystemException", "FileSystemException."}, 1516 {"dart:io", "FileSystemException", "FileSystemException."},
1517 {"dart:io", "HandshakeException", "HandshakeException."}, 1517 {"dart:io", "HandshakeException", "HandshakeException."},
1518 {"dart:io", "Link", "Link."}, 1518 {"dart:io", "Link", "Link."},
1519 {"dart:io", "OSError", "OSError."}, 1519 {"dart:io", "OSError", "OSError."},
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 Platform::Exit(Process::GlobalExitCode()); 1868 Platform::Exit(Process::GlobalExitCode());
1869 } 1869 }
1870 1870
1871 } // namespace bin 1871 } // namespace bin
1872 } // namespace dart 1872 } // namespace dart
1873 1873
1874 int main(int argc, char** argv) { 1874 int main(int argc, char** argv) {
1875 dart::bin::main(argc, argv); 1875 dart::bin::main(argc, argv);
1876 UNREACHABLE(); 1876 UNREACHABLE();
1877 } 1877 }
OLDNEW
« no previous file with comments | « runtime/bin/directory_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698