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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 dart2jsPath: "web_gl/dart2js/web_gl_dart2js.dart"), | 112 dart2jsPath: "web_gl/dart2js/web_gl_dart2js.dart"), |
113 | 113 |
114 "web_sql": const LibraryInfo( | 114 "web_sql": const LibraryInfo( |
115 "web_sql/dartium/web_sql_dartium.dart", | 115 "web_sql/dartium/web_sql_dartium.dart", |
116 category: "Client", | 116 category: "Client", |
117 dart2jsPath: "web_sql/dart2js/web_sql_dart2js.dart"), | 117 dart2jsPath: "web_sql/dart2js/web_sql_dart2js.dart"), |
118 | 118 |
119 "_collection-dev": const LibraryInfo( | 119 "_collection-dev": const LibraryInfo( |
120 "_collection_dev/collection_dev.dart", | 120 "_collection_dev/collection_dev.dart", |
121 category: "Internal", | 121 category: "Internal", |
122 documented: false), | 122 documented: false, |
| 123 dart2jsPatchPath: |
| 124 "_internal/compiler/implementation/lib/collection_dev_patch.dart"), |
123 | 125 |
124 "_js_helper": const LibraryInfo( | 126 "_js_helper": const LibraryInfo( |
125 "_internal/compiler/implementation/lib/js_helper.dart", | 127 "_internal/compiler/implementation/lib/js_helper.dart", |
126 category: "Internal", | 128 category: "Internal", |
127 documented: false, | 129 documented: false, |
128 platforms: DART2JS_PLATFORM), | 130 platforms: DART2JS_PLATFORM), |
129 | 131 |
130 "_interceptors": const LibraryInfo( | 132 "_interceptors": const LibraryInfo( |
131 "_internal/compiler/implementation/lib/interceptors.dart", | 133 "_internal/compiler/implementation/lib/interceptors.dart", |
132 category: "Internal", | 134 category: "Internal", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 this.category: "Shared", | 203 this.category: "Shared", |
202 this.dart2jsPath, | 204 this.dart2jsPath, |
203 this.dart2jsPatchPath, | 205 this.dart2jsPatchPath, |
204 this.implementation: false, | 206 this.implementation: false, |
205 this.documented: true, | 207 this.documented: true, |
206 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 208 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
207 | 209 |
208 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 210 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
209 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 211 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
210 } | 212 } |
OLD | NEW |