| 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 20 matching lines...) Expand all Loading... |
| 31 category: "Client"), | 31 category: "Client"), |
| 32 | 32 |
| 33 "collection": const LibraryInfo( | 33 "collection": const LibraryInfo( |
| 34 "collection/collection.dart", | 34 "collection/collection.dart", |
| 35 dart2jsPatchPath: "_internal/compiler/implementation/lib/collection_patch.
dart"), | 35 dart2jsPatchPath: "_internal/compiler/implementation/lib/collection_patch.
dart"), |
| 36 | 36 |
| 37 "core": const LibraryInfo( | 37 "core": const LibraryInfo( |
| 38 "core/core.dart", | 38 "core/core.dart", |
| 39 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart")
, | 39 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart")
, |
| 40 | 40 |
| 41 "crypto": const LibraryInfo( | |
| 42 "crypto/crypto.dart"), | |
| 43 | |
| 44 "html": const LibraryInfo( | 41 "html": const LibraryInfo( |
| 45 "html/dartium/html_dartium.dart", | 42 "html/dartium/html_dartium.dart", |
| 46 category: "Client", | 43 category: "Client", |
| 47 dart2jsPath: "html/dart2js/html_dart2js.dart"), | 44 dart2jsPath: "html/dart2js/html_dart2js.dart"), |
| 48 | 45 |
| 49 "html_common": const LibraryInfo( | 46 "html_common": const LibraryInfo( |
| 50 "html/html_common/html_common.dart", | 47 "html/html_common/html_common.dart", |
| 51 category: "Client", | 48 category: "Client", |
| 52 dart2jsPath: "html/html_common/html_common_dart2js.dart", | 49 dart2jsPath: "html/html_common/html_common_dart2js.dart", |
| 53 documented: false, | 50 documented: false, |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 this.category: "Shared", | 203 this.category: "Shared", |
| 207 this.dart2jsPath, | 204 this.dart2jsPath, |
| 208 this.dart2jsPatchPath, | 205 this.dart2jsPatchPath, |
| 209 this.implementation: false, | 206 this.implementation: false, |
| 210 this.documented: true, | 207 this.documented: true, |
| 211 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 208 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 212 | 209 |
| 213 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 210 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 214 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 211 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 215 } | 212 } |
| OLD | NEW |