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