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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 "chrome": const LibraryInfo( | 29 "chrome": const LibraryInfo( |
30 "chrome/dartium/chrome_dartium.dart", | 30 "chrome/dartium/chrome_dartium.dart", |
31 category: "Client", | 31 category: "Client", |
32 dart2jsPath: "chrome/dart2js/chrome_dart2js.dart", | 32 dart2jsPath: "chrome/dart2js/chrome_dart2js.dart", |
33 documented: false, | 33 documented: false, |
34 implementation: true), // Not really, just hiding it for now. | 34 implementation: true), // Not really, just hiding it for now. |
35 | 35 |
36 "collection": const LibraryInfo("collection/collection.dart"), | 36 "collection": const LibraryInfo("collection/collection.dart"), |
37 | 37 |
38 "collection-dev": const LibraryInfo( | |
39 "collection_dev/collection_dev.dart", | |
40 documented: false), | |
41 | |
42 "core": const LibraryInfo( | 38 "core": const LibraryInfo( |
43 "core/core.dart", | 39 "core/core.dart", |
44 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart")
, | 40 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart")
, |
45 | 41 |
46 "crypto": const LibraryInfo( | 42 "crypto": const LibraryInfo( |
47 "crypto/crypto.dart"), | 43 "crypto/crypto.dart"), |
48 | 44 |
49 "html": const LibraryInfo( | 45 "html": const LibraryInfo( |
50 "html/dartium/html_dartium.dart", | 46 "html/dartium/html_dartium.dart", |
51 category: "Client", | 47 category: "Client", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 "uri/uri.dart"), | 100 "uri/uri.dart"), |
105 | 101 |
106 "utf": const LibraryInfo( | 102 "utf": const LibraryInfo( |
107 "utf/utf.dart"), | 103 "utf/utf.dart"), |
108 | 104 |
109 "web_audio": const LibraryInfo( | 105 "web_audio": const LibraryInfo( |
110 "web_audio/dartium/web_audio_dartium.dart", | 106 "web_audio/dartium/web_audio_dartium.dart", |
111 category: "Client", | 107 category: "Client", |
112 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), | 108 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), |
113 | 109 |
| 110 "_collection-dev": const LibraryInfo( |
| 111 "_collection_dev/collection_dev.dart", |
| 112 category: "Internal", |
| 113 documented: false), |
| 114 |
114 "_js_helper": const LibraryInfo( | 115 "_js_helper": const LibraryInfo( |
115 "_internal/compiler/implementation/lib/js_helper.dart", | 116 "_internal/compiler/implementation/lib/js_helper.dart", |
116 category: "Internal", | 117 category: "Internal", |
117 documented: false, | 118 documented: false, |
118 platforms: DART2JS_PLATFORM), | 119 platforms: DART2JS_PLATFORM), |
119 | 120 |
120 "_interceptors": const LibraryInfo( | 121 "_interceptors": const LibraryInfo( |
121 "_internal/compiler/implementation/lib/interceptors.dart", | 122 "_internal/compiler/implementation/lib/interceptors.dart", |
122 category: "Internal", | 123 category: "Internal", |
123 documented: false, | 124 documented: false, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 this.category: "Shared", | 191 this.category: "Shared", |
191 this.dart2jsPath, | 192 this.dart2jsPath, |
192 this.dart2jsPatchPath, | 193 this.dart2jsPatchPath, |
193 this.implementation: false, | 194 this.implementation: false, |
194 this.documented: true, | 195 this.documented: true, |
195 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 196 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
196 | 197 |
197 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 198 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
198 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 199 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
199 } | 200 } |
OLD | NEW |