| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 "uri/uri.dart"), | 102 "uri/uri.dart"), |
| 103 | 103 |
| 104 "utf": const LibraryInfo( | 104 "utf": const LibraryInfo( |
| 105 "utf/utf.dart"), | 105 "utf/utf.dart"), |
| 106 | 106 |
| 107 "web_audio": const LibraryInfo( | 107 "web_audio": const LibraryInfo( |
| 108 "web_audio/dartium/web_audio_dartium.dart", | 108 "web_audio/dartium/web_audio_dartium.dart", |
| 109 category: "Client", | 109 category: "Client", |
| 110 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), | 110 dart2jsPath: "web_audio/dart2js/web_audio_dart2js.dart"), |
| 111 | 111 |
| 112 "web_gl": const LibraryInfo( |
| 113 "web_gl/dartium/web_gl_dartium.dart", |
| 114 category: "Client", |
| 115 dart2jsPath: "web_gl/dart2js/web_gl_dart2js.dart"), |
| 116 |
| 112 "web_sql": const LibraryInfo( | 117 "web_sql": const LibraryInfo( |
| 113 "web_sql/dartium/web_sql_dartium.dart", | 118 "web_sql/dartium/web_sql_dartium.dart", |
| 114 category: "Client", | 119 category: "Client", |
| 115 dart2jsPath: "web_sql/dart2js/web_sql_dart2js.dart"), | 120 dart2jsPath: "web_sql/dart2js/web_sql_dart2js.dart"), |
| 116 | 121 |
| 117 "_collection-dev": const LibraryInfo( | 122 "_collection-dev": const LibraryInfo( |
| 118 "_collection_dev/collection_dev.dart", | 123 "_collection_dev/collection_dev.dart", |
| 119 category: "Internal", | 124 category: "Internal", |
| 120 documented: false), | 125 documented: false), |
| 121 | 126 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 this.category: "Shared", | 204 this.category: "Shared", |
| 200 this.dart2jsPath, | 205 this.dart2jsPath, |
| 201 this.dart2jsPatchPath, | 206 this.dart2jsPatchPath, |
| 202 this.implementation: false, | 207 this.implementation: false, |
| 203 this.documented: true, | 208 this.documented: true, |
| 204 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); | 209 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); |
| 205 | 210 |
| 206 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; | 211 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; |
| 207 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; | 212 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; |
| 208 } | 213 } |
| OLD | NEW |