| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 documented: false, | 84 documented: false, |
| 85 platforms: VM_PLATFORM), | 85 platforms: VM_PLATFORM), |
| 86 | 86 |
| 87 "scalarlist": const LibraryInfo( | 87 "scalarlist": const LibraryInfo( |
| 88 "scalarlist/scalarlist.dart", | 88 "scalarlist/scalarlist.dart", |
| 89 category: "Server", | 89 category: "Server", |
| 90 dart2jsPatchPath: "_internal/compiler/implementation/lib/scalarlist_patch.
dart"), | 90 dart2jsPatchPath: "_internal/compiler/implementation/lib/scalarlist_patch.
dart"), |
| 91 | 91 |
| 92 "typeddata": const LibraryInfo( | 92 "typeddata": const LibraryInfo( |
| 93 "typeddata/typeddata.dart", | 93 "typeddata/typeddata.dart", |
| 94 dart2jsPatchPath: "_internal/compiler/implementation/lib/typeddata_patch.d
art"), | 94 dart2jsPath: "typeddata/dart2js/typeddata_dart2js.dart"), |
| 95 | 95 |
| 96 "svg": const LibraryInfo( | 96 "svg": const LibraryInfo( |
| 97 "svg/dartium/svg_dartium.dart", | 97 "svg/dartium/svg_dartium.dart", |
| 98 category: "Client", | 98 category: "Client", |
| 99 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), | 99 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), |
| 100 | 100 |
| 101 "uri": const LibraryInfo( | 101 "uri": const LibraryInfo( |
| 102 "uri/uri.dart"), | 102 "uri/uri.dart"), |
| 103 | 103 |
| 104 "utf": const LibraryInfo( | 104 "utf": const LibraryInfo( |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 this.category: "Shared", | 199 this.category: "Shared", |
| 200 this.dart2jsPath, | 200 this.dart2jsPath, |
| 201 this.dart2jsPatchPath, | 201 this.dart2jsPatchPath, |
| 202 this.implementation: false, | 202 this.implementation: false, |
| 203 this.documented: true, | 203 this.documented: true, |
| 204 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 204 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 205 | 205 |
| 206 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 206 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 207 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 207 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 208 } | 208 } |
| OLD | NEW |