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 // TODO(ahe): Long term, it would probably be better if we do not use | 5 // TODO(ahe): Long term, it would probably be better if we do not use |
6 // executable code to define the locations of libraries. | 6 // executable code to define the locations of libraries. |
7 | 7 |
8 #library('library_map'); | 8 #library('library_map'); |
9 | 9 |
10 /** | 10 /** |
11 * Specifies the location of Dart platform libraries. | 11 * Specifies the location of Dart platform libraries. |
12 */ | 12 */ |
13 final Map<String,String> DART2JS_LIBRARY_MAP = const <String> { | 13 final Map<String,String> DART2JS_LIBRARY_MAP = const <String> { |
14 "core": "lib/compiler/implementation/lib/core.dart", | 14 "core": "lib/compiler/implementation/lib/core.dart", |
15 "coreimpl": "lib/compiler/implementation/lib/coreimpl.dart", | 15 "coreimpl": "lib/compiler/implementation/lib/coreimpl.dart", |
16 "_js_helper": "lib/compiler/implementation/lib/js_helper.dart", | 16 "_js_helper": "lib/compiler/implementation/lib/js_helper.dart", |
17 "_interceptors": "lib/compiler/implementation/lib/interceptors.dart", | 17 "_interceptors": "lib/compiler/implementation/lib/interceptors.dart", |
18 "dom": "lib/dom/frog/dom_frog.dart", | 18 "dom_deprecated": "lib/dom/frog/dom_frog.dart", |
19 "html": "lib/html/frog/html_frog.dart", | 19 "html": "lib/html/frog/html_frog.dart", |
20 "io": "lib/compiler/implementation/lib/io.dart", | 20 "io": "lib/compiler/implementation/lib/io.dart", |
21 "isolate": "lib/isolate/isolate_leg.dart", | 21 "isolate": "lib/isolate/isolate_leg.dart", |
22 "json": "lib/json/json.dart", | 22 "json": "lib/json/json.dart", |
23 "uri": "lib/uri/uri.dart", | 23 "uri": "lib/uri/uri.dart", |
24 "utf": "lib/utf/utf.dart", | 24 "utf": "lib/utf/utf.dart", |
25 }; | 25 }; |
OLD | NEW |