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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 "svg/dartium/svg_dartium.dart", | 74 "svg/dartium/svg_dartium.dart", |
75 category: "Client", | 75 category: "Client", |
76 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), | 76 dart2jsPath: "svg/dart2js/svg_dart2js.dart"), |
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"), |
83 | 83 |
| 84 "web_audio": const LibraryInfo( |
| 85 "web_audio/dartium/web_audio_dartium.dart", |
| 86 category: "Client", |
| 87 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), |
| 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, |
88 platforms: DART2JS_PLATFORM), | 93 platforms: DART2JS_PLATFORM), |
89 | 94 |
90 "_interceptors": const LibraryInfo( | 95 "_interceptors": const LibraryInfo( |
91 "_internal/compiler/implementation/lib/interceptors.dart", | 96 "_internal/compiler/implementation/lib/interceptors.dart", |
92 category: "Internal", | 97 category: "Internal", |
93 documented: false, | 98 documented: false, |
(...skipping 54 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 |