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; |
11 | 11 |
12 /** | 12 /** |
13 * A bit flag used by [LibraryInfo] indicating that a library is used by the VM | 13 * A bit flag used by [LibraryInfo] indicating that a library is used by the VM |
14 */ | 14 */ |
15 const int VM_PLATFORM = 2; | 15 const int VM_PLATFORM = 2; |
16 | 16 |
17 /** | 17 /** |
18 * Mapping of "dart:" library name (e.g. "core") to information about that libra
ry. | 18 * Mapping of "dart:" library name (e.g. "core") to information about that libra
ry. |
19 * This information is structured such that Dart Editor can parse this file | 19 * This information is structured such that Dart Editor can parse this file |
20 * and extract the necessary information without executing it | 20 * and extract the necessary information without executing it |
21 * while other tools can access via execution. | 21 * while other tools can access via execution. |
22 */ | 22 */ |
23 const Map<String, LibraryInfo> LIBRARIES = const { | 23 const Map<String, LibraryInfo> LIBRARIES = const { |
24 | 24 |
25 "async": const LibraryInfo( | 25 "async": const LibraryInfo( |
26 "async/async.dart", | 26 "async/async.dart", |
27 maturity: Maturity.STABLE, | 27 maturity: Maturity.STABLE, |
28 dart2jsPatchPath: "_internal/lib/async_patch.dart"), | 28 dart2jsPatchPath: "_internal/lib/async_patch.dart"), |
29 | 29 |
| 30 "blink": const LibraryInfo( |
| 31 "blink/dartium/blink_dartium.dart", |
| 32 category: "Client", |
| 33 implementation: true, |
| 34 documented: false, |
| 35 platforms: VM_PLATFORM) |
| 36 |
30 "_chrome": const LibraryInfo( | 37 "_chrome": const LibraryInfo( |
31 "_chrome/dart2js/chrome_dart2js.dart", | 38 "_chrome/dart2js/chrome_dart2js.dart", |
32 documented: false, | 39 documented: false, |
33 category: "Client"), | 40 category: "Client"), |
34 | 41 |
35 "collection": const LibraryInfo( | 42 "collection": const LibraryInfo( |
36 "collection/collection.dart", | 43 "collection/collection.dart", |
37 maturity: Maturity.STABLE, | 44 maturity: Maturity.STABLE, |
38 dart2jsPatchPath: "_internal/lib/collection_patch.dart"), | 45 dart2jsPatchPath: "_internal/lib/collection_patch.dart"), |
39 | 46 |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 static const Maturity STABLE = const Maturity(4, "Stable", | 308 static const Maturity STABLE = const Maturity(4, "Stable", |
302 "The library is stable. API backwards-compatibility is guaranteed.\n" | 309 "The library is stable. API backwards-compatibility is guaranteed.\n" |
303 "However implementation details might change."); | 310 "However implementation details might change."); |
304 | 311 |
305 static const Maturity LOCKED = const Maturity(5, "Locked", | 312 static const Maturity LOCKED = const Maturity(5, "Locked", |
306 "This library will not change except when serious bugs are encountered."); | 313 "This library will not change except when serious bugs are encountered."); |
307 | 314 |
308 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", | 315 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", |
309 "The maturity for this library has not been specified."); | 316 "The maturity for this library has not been specified."); |
310 } | 317 } |
OLD | NEW |