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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 "typed_data": const LibraryInfo( | 95 "typed_data": const LibraryInfo( |
96 "typed_data/typed_data.dart", | 96 "typed_data/typed_data.dart", |
97 dart2jsPath: "typed_data/dart2js/typed_data_dart2js.dart"), | 97 dart2jsPath: "typed_data/dart2js/typed_data_dart2js.dart"), |
98 | 98 |
99 "svg": const LibraryInfo( | 99 "svg": const LibraryInfo( |
100 "svg/dartium/svg_dartium.dart", | 100 "svg/dartium/svg_dartium.dart", |
101 category: "Client", | 101 category: "Client", |
102 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), | 102 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), |
103 | 103 |
104 "uri": const LibraryInfo( | |
105 "uri/uri.dart"), | |
106 | |
107 "utf": const LibraryInfo( | 104 "utf": const LibraryInfo( |
108 "utf/utf.dart"), | 105 "utf/utf.dart"), |
109 | 106 |
110 "web_audio": const LibraryInfo( | 107 "web_audio": const LibraryInfo( |
111 "web_audio/dartium/web_audio_dartium.dart", | 108 "web_audio/dartium/web_audio_dartium.dart", |
112 category: "Client", | 109 category: "Client", |
113 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), | 110 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), |
114 | 111 |
115 "web_gl": const LibraryInfo( | 112 "web_gl": const LibraryInfo( |
116 "web_gl/dartium/web_gl_dartium.dart", | 113 "web_gl/dartium/web_gl_dartium.dart", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 this.category: "Shared", | 206 this.category: "Shared", |
210 this.dart2jsPath, | 207 this.dart2jsPath, |
211 this.dart2jsPatchPath, | 208 this.dart2jsPatchPath, |
212 this.implementation: false, | 209 this.implementation: false, |
213 this.documented: true, | 210 this.documented: true, |
214 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 211 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
215 | 212 |
216 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 213 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
217 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 214 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
218 } | 215 } |
OLD | NEW |