| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 "html/html_dartium.dart", | 44 "html/html_dartium.dart", |
| 45 category: "Client", | 45 category: "Client", |
| 46 dart2jsPath: "html/dart2js/html_dart2js.dart"), | 46 dart2jsPath: "html/dart2js/html_dart2js.dart"), |
| 47 | 47 |
| 48 "io": const LibraryInfo( | 48 "io": const LibraryInfo( |
| 49 "io/io_runtime.dart", | 49 "io/io_runtime.dart", |
| 50 category: "Server", | 50 category: "Server", |
| 51 dart2jsPath: "compiler/implementation/lib/io.dart"), | 51 dart2jsPath: "compiler/implementation/lib/io.dart"), |
| 52 | 52 |
| 53 "isolate": const LibraryInfo( | 53 "isolate": const LibraryInfo( |
| 54 "isolate/isolate_compiler.dart", | 54 "isolate/isolate.dart"), |
| 55 dart2jsPath: "isolate/isolate_dart2js.dart"), | |
| 56 | 55 |
| 57 "json": const LibraryInfo( | 56 "json": const LibraryInfo( |
| 58 "json/json.dart"), | 57 "json/json.dart"), |
| 59 | 58 |
| 60 "math": const LibraryInfo( | 59 "math": const LibraryInfo( |
| 61 "math/math.dart", | 60 "math/math.dart", |
| 62 dart2jsPatchPath: "compiler/implementation/lib/math.dartp"), | 61 dart2jsPatchPath: "compiler/implementation/lib/math.dartp"), |
| 63 | 62 |
| 64 // Used by Dartium applications | 63 // Used by Dartium applications |
| 65 "nativewrappers": const LibraryInfo( | 64 "nativewrappers": const LibraryInfo( |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 * and that tools like Dart Editor should not show these libraries | 131 * 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. | 132 * 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). | 133 * (e.g. "coreimpl" contains implementation for the "core" library). |
| 135 */ | 134 */ |
| 136 final bool implementation; | 135 final bool implementation; |
| 137 | 136 |
| 138 const LibraryInfo(this.path, [this.category = "Shared", | 137 const LibraryInfo(this.path, [this.category = "Shared", |
| 139 this.dart2jsPath, this.dart2jsPatchPath, | 138 this.dart2jsPath, this.dart2jsPatchPath, |
| 140 this.implementation = false, this.internal = false]); | 139 this.implementation = false, this.internal = false]); |
| 141 } | 140 } |
| OLD | NEW |