| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 implementation: true, | 68 implementation: true, |
| 69 documented: false, | 69 documented: false, |
| 70 platforms: VM_PLATFORM), | 70 platforms: VM_PLATFORM), |
| 71 | 71 |
| 72 "uri": const LibraryInfo( | 72 "uri": const LibraryInfo( |
| 73 "uri/uri.dart"), | 73 "uri/uri.dart"), |
| 74 | 74 |
| 75 "utf": const LibraryInfo( | 75 "utf": const LibraryInfo( |
| 76 "utf/utf.dart"), | 76 "utf/utf.dart"), |
| 77 | 77 |
| 78 "web": const LibraryInfo( |
| 79 "web/web.dart"), |
| 80 |
| 78 "_js_helper": const LibraryInfo( | 81 "_js_helper": const LibraryInfo( |
| 79 "compiler/implementation/lib/js_helper.dart", | 82 "compiler/implementation/lib/js_helper.dart", |
| 80 category: "Internal", | 83 category: "Internal", |
| 81 documented: false, | 84 documented: false, |
| 82 platforms: DART2JS_PLATFORM), | 85 platforms: DART2JS_PLATFORM), |
| 83 | 86 |
| 84 "_interceptors": const LibraryInfo( | 87 "_interceptors": const LibraryInfo( |
| 85 "compiler/implementation/lib/interceptors.dart", | 88 "compiler/implementation/lib/interceptors.dart", |
| 86 category: "Internal", | 89 category: "Internal", |
| 87 documented: false, | 90 documented: false, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 this.category = "Shared", | 145 this.category = "Shared", |
| 143 this.dart2jsPath, | 146 this.dart2jsPath, |
| 144 this.dart2jsPatchPath, | 147 this.dart2jsPatchPath, |
| 145 this.implementation = false, | 148 this.implementation = false, |
| 146 this.documented = true, | 149 this.documented = true, |
| 147 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); | 150 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); |
| 148 | 151 |
| 149 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 152 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 150 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 153 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 151 } | 154 } |
| OLD | NEW |