| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 "mirrors/mirrors.dart", | 79 "mirrors/mirrors.dart", |
| 80 dart2jsPatchPath: "_internal/compiler/implementation/lib/mirrors_patch.dar
t"), | 80 dart2jsPatchPath: "_internal/compiler/implementation/lib/mirrors_patch.dar
t"), |
| 81 | 81 |
| 82 "nativewrappers": const LibraryInfo( | 82 "nativewrappers": const LibraryInfo( |
| 83 "html/dartium/nativewrappers.dart", | 83 "html/dartium/nativewrappers.dart", |
| 84 category: "Client", | 84 category: "Client", |
| 85 implementation: true, | 85 implementation: true, |
| 86 documented: false, | 86 documented: false, |
| 87 platforms: VM_PLATFORM), | 87 platforms: VM_PLATFORM), |
| 88 | 88 |
| 89 "typeddata": const LibraryInfo( | 89 "typed_data": const LibraryInfo( |
| 90 "typeddata/typeddata.dart", | 90 "typed_data/typed_data.dart", |
| 91 dart2jsPath: "typeddata/dart2js/typeddata_dart2js.dart"), | 91 dart2jsPath: "typed_data/dart2js/typed_data_dart2js.dart"), |
| 92 | 92 |
| 93 "svg": const LibraryInfo( | 93 "svg": const LibraryInfo( |
| 94 "svg/dartium/svg_dartium.dart", | 94 "svg/dartium/svg_dartium.dart", |
| 95 category: "Client", | 95 category: "Client", |
| 96 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), | 96 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), |
| 97 | 97 |
| 98 "uri": const LibraryInfo( | 98 "uri": const LibraryInfo( |
| 99 "uri/uri.dart"), | 99 "uri/uri.dart"), |
| 100 | 100 |
| 101 "utf": const LibraryInfo( | 101 "utf": const LibraryInfo( |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 this.category: "Shared", | 203 this.category: "Shared", |
| 204 this.dart2jsPath, | 204 this.dart2jsPath, |
| 205 this.dart2jsPatchPath, | 205 this.dart2jsPatchPath, |
| 206 this.implementation: false, | 206 this.implementation: false, |
| 207 this.documented: true, | 207 this.documented: true, |
| 208 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 208 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 209 | 209 |
| 210 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 210 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 211 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 211 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 212 } | 212 } |
| OLD | NEW |