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 library builtin; | 5 library builtin; |
6 // NOTE: Do not import 'dart:io' in builtin. | 6 // NOTE: Do not import 'dart:io' in builtin. |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 import 'dart:_internal'; | 9 import 'dart:_internal' hide Symbol; |
10 import 'dart:isolate'; | 10 import 'dart:isolate'; |
11 import 'dart:typed_data'; | 11 import 'dart:typed_data'; |
12 | 12 |
13 // Embedder sets this to true if the --trace-loading flag was passed on the | 13 // Embedder sets this to true if the --trace-loading flag was passed on the |
14 // command line. | 14 // command line. |
15 bool _traceLoading = false; | 15 bool _traceLoading = false; |
16 | 16 |
17 | 17 |
18 // Before handling an embedder entrypoint we finalize the setup of the | 18 // Before handling an embedder entrypoint we finalize the setup of the |
19 // dart:_builtin library. | 19 // dart:_builtin library. |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 if (_traceLoading) { | 386 if (_traceLoading) { |
387 _log("Exception when resolving package URI: $packageUri"); | 387 _log("Exception when resolving package URI: $packageUri"); |
388 } | 388 } |
389 result = null; | 389 result = null; |
390 } | 390 } |
391 if (_traceLoading) { | 391 if (_traceLoading) { |
392 _log("Resolved '$packageUri' to '$result'"); | 392 _log("Resolved '$packageUri' to '$result'"); |
393 } | 393 } |
394 return result; | 394 return result; |
395 } | 395 } |
OLD | NEW |