Chromium Code Reviews| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 |
| 136 "nativewrappers": const LibraryInfo( | 124 "nativewrappers": const LibraryInfo( |
| 137 "html/dartium/nativewrappers.dart", | 125 "html/dartium/nativewrappers.dart", |
| 138 categories: "Client", | 126 categories: "Client", |
| 139 implementation: true, | 127 implementation: true, |
| 140 documented: false, | 128 documented: false, |
| 141 platforms: VM_PLATFORM), | 129 dart2jsPath: "html/dart2js/nativewrappers.dart"), |
|
Jennifer Messerly
2017/03/07 19:43:52
does this have any bad effects for dart2js?
| |
| 142 | 130 |
| 143 "typed_data": const LibraryInfo( | 131 "typed_data": const LibraryInfo( |
| 144 "typed_data/typed_data.dart", | 132 "typed_data/typed_data.dart", |
| 145 categories: "Client,Server,Embedded", | 133 categories: "Client,Server,Embedded", |
| 146 maturity: Maturity.STABLE, | 134 maturity: Maturity.STABLE, |
| 147 dart2jsPatchPath: "_internal/js_runtime/lib/typed_data_patch.dart"), | 135 dart2jsPatchPath: "_internal/js_runtime/lib/typed_data_patch.dart"), |
| 148 | 136 |
| 149 "_native_typed_data": const LibraryInfo( | 137 "_native_typed_data": const LibraryInfo( |
| 150 "_internal/js_runtime/lib/native_typed_data.dart", | 138 "_internal/js_runtime/lib/native_typed_data.dart", |
| 151 categories: "", | 139 categories: "", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 206 categories: "", | 194 categories: "", |
| 207 documented: false, | 195 documented: false, |
| 208 platforms: DART2JS_PLATFORM), | 196 platforms: DART2JS_PLATFORM), |
| 209 | 197 |
| 210 "_js_mirrors": const LibraryInfo( | 198 "_js_mirrors": const LibraryInfo( |
| 211 "_internal/js_runtime/lib/js_mirrors.dart", | 199 "_internal/js_runtime/lib/js_mirrors.dart", |
| 212 categories: "", | 200 categories: "", |
| 213 documented: false, | 201 documented: false, |
| 214 platforms: DART2JS_PLATFORM), | 202 platforms: DART2JS_PLATFORM), |
| 215 | 203 |
| 216 "_js_names": const LibraryInfo( | |
| 217 "_internal/js_runtime/lib/js_names.dart", | |
| 218 categories: "", | |
| 219 documented: false, | |
| 220 platforms: DART2JS_PLATFORM), | |
| 221 | |
| 222 "_js_primitives": const LibraryInfo( | 204 "_js_primitives": const LibraryInfo( |
| 223 "_internal/js_runtime/lib/js_primitives.dart", | 205 "_internal/js_runtime/lib/js_primitives.dart", |
| 224 categories: "", | 206 categories: "", |
| 225 documented: false, | 207 documented: false, |
| 226 platforms: DART2JS_PLATFORM), | 208 platforms: DART2JS_PLATFORM), |
| 227 | 209 |
| 228 "_js_embedded_names": const LibraryInfo( | 210 "_js_embedded_names": const LibraryInfo( |
| 229 "_internal/js_runtime/lib/shared/embedded_names.dart", | 211 "_internal/js_runtime/lib/shared/embedded_names.dart", |
| 230 categories: "", | 212 categories: "", |
| 231 documented: false, | 213 documented: false, |
| 232 platforms: DART2JS_PLATFORM), | 214 platforms: DART2JS_PLATFORM), |
| 233 | 215 |
| 234 "_async_await_error_codes": const LibraryInfo( | |
| 235 "_internal/js_runtime/lib/shared/async_await_error_codes.dart", | |
| 236 categories: "", | |
| 237 documented: false, | |
| 238 platforms: DART2JS_PLATFORM), | |
| 239 | |
| 240 "_metadata": const LibraryInfo( | 216 "_metadata": const LibraryInfo( |
| 241 "html/html_common/metadata.dart", | 217 "html/html_common/metadata.dart", |
| 242 categories: "", | 218 categories: "", |
| 243 documented: false, | 219 documented: false, |
| 244 platforms: DART2JS_PLATFORM), | 220 platforms: DART2JS_PLATFORM), |
| 245 }; | 221 }; |
| 246 | 222 |
| 247 /** | 223 /** |
| 248 * Information about a "dart:" library. | 224 * Information about a "dart:" library. |
| 249 */ | 225 */ |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 364 static const Maturity STABLE = const Maturity(4, "Stable", | 340 static const Maturity STABLE = const Maturity(4, "Stable", |
| 365 "The library is stable. API backwards-compatibility is guaranteed.\n" | 341 "The library is stable. API backwards-compatibility is guaranteed.\n" |
| 366 "However implementation details might change."); | 342 "However implementation details might change."); |
| 367 | 343 |
| 368 static const Maturity LOCKED = const Maturity(5, "Locked", | 344 static const Maturity LOCKED = const Maturity(5, "Locked", |
| 369 "This library will not change except when serious bugs are encountered."); | 345 "This library will not change except when serious bugs are encountered."); |
| 370 | 346 |
| 371 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", | 347 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", |
| 372 "The maturity for this library has not been specified."); | 348 "The maturity for this library has not been specified."); |
| 373 } | 349 } |
| OLD | NEW |