| 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 libraries; | 5 library libraries; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js | 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js |
| 9 */ | 9 */ |
| 10 const int DART2JS_PLATFORM = 1; | 10 const int DART2JS_PLATFORM = 1; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 const Map<String, LibraryInfo> LIBRARIES = const { | 23 const Map<String, LibraryInfo> LIBRARIES = const { |
| 24 | 24 |
| 25 "async": const LibraryInfo( | 25 "async": const LibraryInfo( |
| 26 "async/async.dart", | 26 "async/async.dart", |
| 27 dart2jsPatchPath: "_internal/lib/async_patch.dart"), | 27 dart2jsPatchPath: "_internal/lib/async_patch.dart"), |
| 28 | 28 |
| 29 "chrome": const LibraryInfo( | 29 "chrome": const LibraryInfo( |
| 30 "chrome/dart2js/chrome_dart2js.dart", | 30 "chrome/dart2js/chrome_dart2js.dart", |
| 31 category: "Client"), | 31 category: "Client"), |
| 32 | 32 |
| 33 "codec": const LibraryInfo( | |
| 34 "codec/codec.dart"), | |
| 35 | |
| 36 "collection": const LibraryInfo( | 33 "collection": const LibraryInfo( |
| 37 "collection/collection.dart", | 34 "collection/collection.dart", |
| 38 dart2jsPatchPath: "_internal/lib/collection_patch.dart"), | 35 dart2jsPatchPath: "_internal/lib/collection_patch.dart"), |
| 39 | 36 |
| 40 "convert": const LibraryInfo( | 37 "convert": const LibraryInfo( |
| 41 "convert/convert.dart"), | 38 "convert/convert.dart"), |
| 42 | 39 |
| 43 "core": const LibraryInfo( | 40 "core": const LibraryInfo( |
| 44 "core/core.dart", | 41 "core/core.dart", |
| 45 dart2jsPatchPath: "_internal/lib/core_patch.dart"), | 42 dart2jsPatchPath: "_internal/lib/core_patch.dart"), |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 this.category: "Shared", | 217 this.category: "Shared", |
| 221 this.dart2jsPath, | 218 this.dart2jsPath, |
| 222 this.dart2jsPatchPath, | 219 this.dart2jsPatchPath, |
| 223 this.implementation: false, | 220 this.implementation: false, |
| 224 this.documented: true, | 221 this.documented: true, |
| 225 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 222 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 226 | 223 |
| 227 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 224 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 228 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 225 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 229 } | 226 } |
| OLD | NEW |