| 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 * Mapping of "dart:" library name (e.g. "core") to information about that libra
ry. | 8 * Mapping of "dart:" library name (e.g. "core") to information about that libra
ry. |
| 9 * This information is structured such that Dart Editor can parse this file | 9 * This information is structured such that Dart Editor can parse this file |
| 10 * and extract the necessary information without executing it | 10 * and extract the necessary information without executing it |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 "isolate/isolate_compiler.dart", | 54 "isolate/isolate_compiler.dart", |
| 55 dart2jsPath: "isolate/isolate_dart2js.dart"), | 55 dart2jsPath: "isolate/isolate_dart2js.dart"), |
| 56 | 56 |
| 57 "json": const LibraryInfo( | 57 "json": const LibraryInfo( |
| 58 "json/json.dart"), | 58 "json/json.dart"), |
| 59 | 59 |
| 60 "math": const LibraryInfo( | 60 "math": const LibraryInfo( |
| 61 "math/math.dart", | 61 "math/math.dart", |
| 62 dart2jsPatchPath: "compiler/implementation/lib/math.dartp"), | 62 dart2jsPatchPath: "compiler/implementation/lib/math.dartp"), |
| 63 | 63 |
| 64 "mirrors": const LibraryInfo( |
| 65 "mirrors/mirrors.dart"), |
| 66 |
| 64 // Used by Dartium applications | 67 // Used by Dartium applications |
| 65 "nativewrappers": const LibraryInfo( | 68 "nativewrappers": const LibraryInfo( |
| 66 "html/nativewrappers.dart", | 69 "html/nativewrappers.dart", |
| 67 category: "Client", | 70 category: "Client", |
| 68 implementation: true), | 71 implementation: true), |
| 69 | 72 |
| 70 "unittest": const LibraryInfo( | 73 "unittest": const LibraryInfo( |
| 71 "unittest/unittest.dart", | 74 "unittest/unittest.dart", |
| 72 category: "Tools"), | 75 category: "Tools"), |
| 73 | 76 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 * and that tools like Dart Editor should not show these libraries | 135 * and that tools like Dart Editor should not show these libraries |
| 133 * in a list of all libraries unless the user specifically asks the tool to do
so. | 136 * in a list of all libraries unless the user specifically asks the tool to do
so. |
| 134 * (e.g. "coreimpl" contains implementation for the "core" library). | 137 * (e.g. "coreimpl" contains implementation for the "core" library). |
| 135 */ | 138 */ |
| 136 final bool implementation; | 139 final bool implementation; |
| 137 | 140 |
| 138 const LibraryInfo(this.path, [this.category = "Shared", | 141 const LibraryInfo(this.path, [this.category = "Shared", |
| 139 this.dart2jsPath, this.dart2jsPatchPath, | 142 this.dart2jsPath, this.dart2jsPatchPath, |
| 140 this.implementation = false, this.internal = false]); | 143 this.implementation = false, this.internal = false]); |
| 141 } | 144 } |
| OLD | NEW |