| 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 category: "Client", | 68 category: "Client", |
| 69 implementation: true, | 69 implementation: true, |
| 70 documented: false, | 70 documented: false, |
| 71 platforms: VM_PLATFORM), | 71 platforms: VM_PLATFORM), |
| 72 | 72 |
| 73 "scalarlist": const LibraryInfo( | 73 "scalarlist": const LibraryInfo( |
| 74 "scalarlist/scalarlist.dart", | 74 "scalarlist/scalarlist.dart", |
| 75 category: "Server", | 75 category: "Server", |
| 76 dart2jsPatchPath: "_internal/compiler/implementation/lib/scalarlist_patch.
dart"), | 76 dart2jsPatchPath: "_internal/compiler/implementation/lib/scalarlist_patch.
dart"), |
| 77 | 77 |
| 78 "svg": const LibraryInfo( |
| 79 "svg/dartium/svg_dartium.dart", |
| 80 category: "Client", |
| 81 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), |
| 82 |
| 78 "uri": const LibraryInfo( | 83 "uri": const LibraryInfo( |
| 79 "uri/uri.dart"), | 84 "uri/uri.dart"), |
| 80 | 85 |
| 81 "utf": const LibraryInfo( | 86 "utf": const LibraryInfo( |
| 82 "utf/utf.dart"), | 87 "utf/utf.dart"), |
| 83 | 88 |
| 84 "_js_helper": const LibraryInfo( | 89 "_js_helper": const LibraryInfo( |
| 85 "_internal/compiler/implementation/lib/js_helper.dart", | 90 "_internal/compiler/implementation/lib/js_helper.dart", |
| 86 category: "Internal", | 91 category: "Internal", |
| 87 documented: false, | 92 documented: false, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 this.category: "Shared", | 153 this.category: "Shared", |
| 149 this.dart2jsPath, | 154 this.dart2jsPath, |
| 150 this.dart2jsPatchPath, | 155 this.dart2jsPatchPath, |
| 151 this.implementation: false, | 156 this.implementation: false, |
| 152 this.documented: true, | 157 this.documented: true, |
| 153 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 158 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 154 | 159 |
| 155 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 160 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 156 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 161 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 157 } | 162 } |
| OLD | NEW |