| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 "math": const LibraryInfo( | 62 "math": const LibraryInfo( |
| 63 "math/math.dart", | 63 "math/math.dart", |
| 64 dart2jsPatchPath: "compiler/implementation/lib/math_patch.dart"), | 64 dart2jsPatchPath: "compiler/implementation/lib/math_patch.dart"), |
| 65 | 65 |
| 66 "mirrors": const LibraryInfo( | 66 "mirrors": const LibraryInfo( |
| 67 "mirrors/mirrors.dart", | 67 "mirrors/mirrors.dart", |
| 68 documented: false, | 68 documented: false, |
| 69 platforms: VM_PLATFORM), | 69 platforms: VM_PLATFORM), |
| 70 | 70 |
| 71 "nativewrappers": const LibraryInfo( | 71 "nativewrappers": const LibraryInfo( |
| 72 "html/nativewrappers.dart", | 72 "html/dartium/nativewrappers.dart", |
| 73 category: "Client", | 73 category: "Client", |
| 74 implementation: true, | 74 implementation: true, |
| 75 documented: false, | 75 documented: false, |
| 76 platforms: VM_PLATFORM), | 76 platforms: VM_PLATFORM), |
| 77 | 77 |
| 78 "uri": const LibraryInfo( | 78 "uri": const LibraryInfo( |
| 79 "uri/uri.dart"), | 79 "uri/uri.dart"), |
| 80 | 80 |
| 81 "utf": const LibraryInfo( | 81 "utf": const LibraryInfo( |
| 82 "utf/utf.dart"), | 82 "utf/utf.dart"), |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 this.category = "Shared", | 151 this.category = "Shared", |
| 152 this.dart2jsPath, | 152 this.dart2jsPath, |
| 153 this.dart2jsPatchPath, | 153 this.dart2jsPatchPath, |
| 154 this.implementation = false, | 154 this.implementation = false, |
| 155 this.documented = true, | 155 this.documented = true, |
| 156 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); | 156 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); |
| 157 | 157 |
| 158 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 158 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 159 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 159 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 160 } | 160 } |
| OLD | NEW |