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("collection_dev/collection_dev.dart"), | 38 "collection-dev": const LibraryInfo( |
| 39 "collection_dev/collection_dev.dart", |
| 40 documented: false), |
39 | 41 |
40 "core": const LibraryInfo( | 42 "core": const LibraryInfo( |
41 "core/core.dart", | 43 "core/core.dart", |
42 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart")
, | 44 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart")
, |
43 | 45 |
44 "crypto": const LibraryInfo( | 46 "crypto": const LibraryInfo( |
45 "crypto/crypto.dart"), | 47 "crypto/crypto.dart"), |
46 | 48 |
47 "html": const LibraryInfo( | 49 "html": const LibraryInfo( |
48 "html/dartium/html_dartium.dart", | 50 "html/dartium/html_dartium.dart", |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 this.category: "Shared", | 190 this.category: "Shared", |
189 this.dart2jsPath, | 191 this.dart2jsPath, |
190 this.dart2jsPatchPath, | 192 this.dart2jsPatchPath, |
191 this.implementation: false, | 193 this.implementation: false, |
192 this.documented: true, | 194 this.documented: true, |
193 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 195 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
194 | 196 |
195 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 197 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
196 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 198 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
197 } | 199 } |
OLD | NEW |