| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "mirrors/mirrors.dart", | 77 "mirrors/mirrors.dart", |
| 78 dart2jsPatchPath: "_internal/compiler/implementation/lib/mirrors_patch.dar
t"), | 78 dart2jsPatchPath: "_internal/compiler/implementation/lib/mirrors_patch.dar
t"), |
| 79 | 79 |
| 80 "nativewrappers": const LibraryInfo( | 80 "nativewrappers": const LibraryInfo( |
| 81 "html/dartium/nativewrappers.dart", | 81 "html/dartium/nativewrappers.dart", |
| 82 category: "Client", | 82 category: "Client", |
| 83 implementation: true, | 83 implementation: true, |
| 84 documented: false, | 84 documented: false, |
| 85 platforms: VM_PLATFORM), | 85 platforms: VM_PLATFORM), |
| 86 | 86 |
| 87 "scalarlist": const LibraryInfo( | |
| 88 "scalarlist/scalarlist.dart", | |
| 89 category: "Server", | |
| 90 dart2jsPatchPath: "_internal/compiler/implementation/lib/scalarlist_patch.
dart"), | |
| 91 | |
| 92 "typeddata": const LibraryInfo( | 87 "typeddata": const LibraryInfo( |
| 93 "typeddata/typeddata.dart", | 88 "typeddata/typeddata.dart", |
| 94 dart2jsPatchPath: "_internal/compiler/implementation/lib/typeddata_patch.d
art"), | 89 dart2jsPatchPath: "_internal/compiler/implementation/lib/typeddata_patch.d
art"), |
| 95 | 90 |
| 96 "svg": const LibraryInfo( | 91 "svg": const LibraryInfo( |
| 97 "svg/dartium/svg_dartium.dart", | 92 "svg/dartium/svg_dartium.dart", |
| 98 category: "Client", | 93 category: "Client", |
| 99 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), | 94 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), |
| 100 | 95 |
| 101 "uri": const LibraryInfo( | 96 "uri": const LibraryInfo( |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 this.category: "Shared", | 194 this.category: "Shared", |
| 200 this.dart2jsPath, | 195 this.dart2jsPath, |
| 201 this.dart2jsPatchPath, | 196 this.dart2jsPatchPath, |
| 202 this.implementation: false, | 197 this.implementation: false, |
| 203 this.documented: true, | 198 this.documented: true, |
| 204 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 199 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 205 | 200 |
| 206 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 201 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 207 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 202 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 208 } | 203 } |
| OLD | NEW |