| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 "json": const LibraryInfo( | 62 "json": const LibraryInfo( |
| 63 "json/json.dart"), | 63 "json/json.dart"), |
| 64 | 64 |
| 65 "math": const LibraryInfo( | 65 "math": const LibraryInfo( |
| 66 "math/math.dart", | 66 "math/math.dart", |
| 67 dart2jsPatchPath: "_internal/compiler/implementation/lib/math_patch.dart")
, | 67 dart2jsPatchPath: "_internal/compiler/implementation/lib/math_patch.dart")
, |
| 68 | 68 |
| 69 "mirrors": const LibraryInfo( | 69 "mirrors": const LibraryInfo( |
| 70 "mirrors/mirrors.dart", | 70 "mirrors/mirrors.dart", |
| 71 dart2jsPath: "_internal/compiler/implementation/lib/mirrors.dart"), | 71 dart2jsPatchPath: "_internal/compiler/implementation/lib/mirrors_patch.dar
t"), |
| 72 | 72 |
| 73 "nativewrappers": const LibraryInfo( | 73 "nativewrappers": const LibraryInfo( |
| 74 "html/dartium/nativewrappers.dart", | 74 "html/dartium/nativewrappers.dart", |
| 75 category: "Client", | 75 category: "Client", |
| 76 implementation: true, | 76 implementation: true, |
| 77 documented: false, | 77 documented: false, |
| 78 platforms: VM_PLATFORM), | 78 platforms: VM_PLATFORM), |
| 79 | 79 |
| 80 "scalarlist": const LibraryInfo( | 80 "scalarlist": const LibraryInfo( |
| 81 "scalarlist/scalarlist.dart", | 81 "scalarlist/scalarlist.dart", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 this.category: "Shared", | 171 this.category: "Shared", |
| 172 this.dart2jsPath, | 172 this.dart2jsPath, |
| 173 this.dart2jsPatchPath, | 173 this.dart2jsPatchPath, |
| 174 this.implementation: false, | 174 this.implementation: false, |
| 175 this.documented: true, | 175 this.documented: true, |
| 176 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 176 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 177 | 177 |
| 178 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 178 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 179 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 179 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 180 } | 180 } |
| OLD | NEW |