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 |
33 "collection": const LibraryInfo( | 36 "collection": const LibraryInfo( |
34 "collection/collection.dart", | 37 "collection/collection.dart", |
35 dart2jsPatchPath: "_internal/lib/collection_patch.dart"), | 38 dart2jsPatchPath: "_internal/lib/collection_patch.dart"), |
36 | 39 |
| 40 "convert": const LibraryInfo( |
| 41 "convert/convert.dart"), |
| 42 |
37 "core": const LibraryInfo( | 43 "core": const LibraryInfo( |
38 "core/core.dart", | 44 "core/core.dart", |
39 dart2jsPatchPath: "_internal/lib/core_patch.dart"), | 45 dart2jsPatchPath: "_internal/lib/core_patch.dart"), |
40 | 46 |
41 "html": const LibraryInfo( | 47 "html": const LibraryInfo( |
42 "html/dartium/html_dartium.dart", | 48 "html/dartium/html_dartium.dart", |
43 category: "Client", | 49 category: "Client", |
44 dart2jsPath: "html/dart2js/html_dart2js.dart"), | 50 dart2jsPath: "html/dart2js/html_dart2js.dart"), |
45 | 51 |
46 "html_common": const LibraryInfo( | 52 "html_common": const LibraryInfo( |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 this.category: "Shared", | 215 this.category: "Shared", |
210 this.dart2jsPath, | 216 this.dart2jsPath, |
211 this.dart2jsPatchPath, | 217 this.dart2jsPatchPath, |
212 this.implementation: false, | 218 this.implementation: false, |
213 this.documented: true, | 219 this.documented: true, |
214 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 220 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
215 | 221 |
216 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 222 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
217 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 223 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
218 } | 224 } |
OLD | NEW |