| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 /// Mapping of "dart:" library name (e.g. "core") to information about that | 36 /// Mapping of "dart:" library name (e.g. "core") to information about that |
| 37 /// library. | 37 /// library. |
| 38 const Map<String, LibraryInfo> libraries = const { | 38 const Map<String, LibraryInfo> libraries = const { |
| 39 "async": const LibraryInfo( | 39 "async": const LibraryInfo( |
| 40 "async/async.dart", | 40 "async/async.dart", |
| 41 categories: "Client,Server", | 41 categories: "Client,Server", |
| 42 maturity: Maturity.STABLE, | 42 maturity: Maturity.STABLE, |
| 43 dart2jsPatchPath: "_internal/js_runtime/lib/async_patch.dart"), | 43 dart2jsPatchPath: "_internal/js_runtime/lib/async_patch.dart"), |
| 44 | 44 |
| 45 "_blink": const LibraryInfo( | |
| 46 "_blink/dartium/_blink_dartium.dart", | |
| 47 categories: "Client", | |
| 48 implementation: true, | |
| 49 documented: false, | |
| 50 platforms: VM_PLATFORM), | |
| 51 | |
| 52 "_chrome": const LibraryInfo( | |
| 53 "_chrome/dart2js/chrome_dart2js.dart", | |
| 54 categories: "Client", | |
| 55 documented: false), | |
| 56 | |
| 57 "collection": const LibraryInfo( | 45 "collection": const LibraryInfo( |
| 58 "collection/collection.dart", | 46 "collection/collection.dart", |
| 59 categories: "Client,Server,Embedded", | 47 categories: "Client,Server,Embedded", |
| 60 maturity: Maturity.STABLE, | 48 maturity: Maturity.STABLE, |
| 61 dart2jsPatchPath: "_internal/js_runtime/lib/collection_patch.dart"), | 49 dart2jsPatchPath: "_internal/js_runtime/lib/collection_patch.dart"), |
| 62 | 50 |
| 63 "convert": const LibraryInfo( | 51 "convert": const LibraryInfo( |
| 64 "convert/convert.dart", | 52 "convert/convert.dart", |
| 65 categories: "Client,Server", | 53 categories: "Client,Server", |
| 66 maturity: Maturity.STABLE, | 54 maturity: Maturity.STABLE, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 categories: "Client,Server,Embedded", | 114 categories: "Client,Server,Embedded", |
| 127 maturity: Maturity.STABLE, | 115 maturity: Maturity.STABLE, |
| 128 dart2jsPatchPath: "_internal/js_runtime/lib/math_patch.dart"), | 116 dart2jsPatchPath: "_internal/js_runtime/lib/math_patch.dart"), |
| 129 | 117 |
| 130 "mirrors": const LibraryInfo( | 118 "mirrors": const LibraryInfo( |
| 131 "mirrors/mirrors.dart", | 119 "mirrors/mirrors.dart", |
| 132 categories: "Client,Server", | 120 categories: "Client,Server", |
| 133 maturity: Maturity.UNSTABLE, | 121 maturity: Maturity.UNSTABLE, |
| 134 dart2jsPatchPath: "_internal/js_runtime/lib/mirrors_patch.dart"), | 122 dart2jsPatchPath: "_internal/js_runtime/lib/mirrors_patch.dart"), |
| 135 | 123 |
| 124 "nativewrappers": const LibraryInfo( |
| 125 "html/dartium/nativewrappers.dart", |
| 126 categories: "Client", |
| 127 implementation: true, |
| 128 documented: false, |
| 129 dart2jsPath: "html/dart2js/nativewrappers.dart"), |
| 130 |
| 136 "typed_data": const LibraryInfo( | 131 "typed_data": const LibraryInfo( |
| 137 "typed_data/typed_data.dart", | 132 "typed_data/typed_data.dart", |
| 138 categories: "Client,Server,Embedded", | 133 categories: "Client,Server,Embedded", |
| 139 maturity: Maturity.STABLE, | 134 maturity: Maturity.STABLE, |
| 140 dart2jsPatchPath: "_internal/js_runtime/lib/typed_data_patch.dart"), | 135 dart2jsPatchPath: "_internal/js_runtime/lib/typed_data_patch.dart"), |
| 141 | 136 |
| 142 "_native_typed_data": const LibraryInfo( | 137 "_native_typed_data": const LibraryInfo( |
| 143 "_internal/js_runtime/lib/native_typed_data.dart", | 138 "_internal/js_runtime/lib/native_typed_data.dart", |
| 144 categories: "", | 139 categories: "", |
| 145 implementation: true, | 140 implementation: true, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 categories: "", | 194 categories: "", |
| 200 documented: false, | 195 documented: false, |
| 201 platforms: DART2JS_PLATFORM), | 196 platforms: DART2JS_PLATFORM), |
| 202 | 197 |
| 203 "_js_mirrors": const LibraryInfo( | 198 "_js_mirrors": const LibraryInfo( |
| 204 "_internal/js_runtime/lib/js_mirrors.dart", | 199 "_internal/js_runtime/lib/js_mirrors.dart", |
| 205 categories: "", | 200 categories: "", |
| 206 documented: false, | 201 documented: false, |
| 207 platforms: DART2JS_PLATFORM), | 202 platforms: DART2JS_PLATFORM), |
| 208 | 203 |
| 209 "_js_names": const LibraryInfo( | |
| 210 "_internal/js_runtime/lib/js_names.dart", | |
| 211 categories: "", | |
| 212 documented: false, | |
| 213 platforms: DART2JS_PLATFORM), | |
| 214 | |
| 215 "_js_primitives": const LibraryInfo( | 204 "_js_primitives": const LibraryInfo( |
| 216 "_internal/js_runtime/lib/js_primitives.dart", | 205 "_internal/js_runtime/lib/js_primitives.dart", |
| 217 categories: "", | 206 categories: "", |
| 218 documented: false, | 207 documented: false, |
| 219 platforms: DART2JS_PLATFORM), | 208 platforms: DART2JS_PLATFORM), |
| 220 | 209 |
| 221 "_js_embedded_names": const LibraryInfo( | 210 "_js_embedded_names": const LibraryInfo( |
| 222 "_internal/js_runtime/lib/shared/embedded_names.dart", | 211 "_internal/js_runtime/lib/shared/embedded_names.dart", |
| 223 categories: "", | 212 categories: "", |
| 224 documented: false, | 213 documented: false, |
| 225 platforms: DART2JS_PLATFORM), | 214 platforms: DART2JS_PLATFORM), |
| 226 | 215 |
| 227 "_async_await_error_codes": const LibraryInfo( | |
| 228 "_internal/js_runtime/lib/shared/async_await_error_codes.dart", | |
| 229 categories: "", | |
| 230 documented: false, | |
| 231 platforms: DART2JS_PLATFORM), | |
| 232 | |
| 233 "_metadata": const LibraryInfo( | 216 "_metadata": const LibraryInfo( |
| 234 "html/html_common/metadata.dart", | 217 "html/html_common/metadata.dart", |
| 235 categories: "", | 218 categories: "", |
| 236 documented: false, | 219 documented: false, |
| 237 platforms: DART2JS_PLATFORM), | 220 platforms: DART2JS_PLATFORM), |
| 238 | 221 |
| 239 "_debugger": const LibraryInfo( | 222 "_debugger": const LibraryInfo( |
| 240 "_internal/js_runtime/lib/debugger.dart", | 223 "_internal/js_runtime/lib/debugger.dart", |
| 241 category: "", | 224 category: "", |
| 242 documented: false, | 225 documented: false, |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 static const Maturity STABLE = const Maturity(4, "Stable", | 352 static const Maturity STABLE = const Maturity(4, "Stable", |
| 370 "The library is stable. API backwards-compatibility is guaranteed.\n" | 353 "The library is stable. API backwards-compatibility is guaranteed.\n" |
| 371 "However implementation details might change."); | 354 "However implementation details might change."); |
| 372 | 355 |
| 373 static const Maturity LOCKED = const Maturity(5, "Locked", | 356 static const Maturity LOCKED = const Maturity(5, "Locked", |
| 374 "This library will not change except when serious bugs are encountered."); | 357 "This library will not change except when serious bugs are encountered."); |
| 375 | 358 |
| 376 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", | 359 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", |
| 377 "The maturity for this library has not been specified."); | 360 "The maturity for this library has not been specified."); |
| 378 } | 361 } |
| OLD | NEW |