Index: dart/lib/compiler/implementation/library_map.dart |
diff --git a/dart/lib/compiler/implementation/library_map.dart b/dart/lib/compiler/implementation/library_map.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc22c99399cc7a2aa388492ebf087836da0717a5 |
--- /dev/null |
+++ b/dart/lib/compiler/implementation/library_map.dart |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// TODO(ahe): Long term, it would probably be better if we do not use |
+// executable code to define the locations of libraries. |
+ |
+#library('library_map'); |
+ |
+/** |
+ * Specifies the location of Dart platform libraries. |
+ */ |
+final Map<String,String> DART2JS_LIBRARY_MAP = const <String> { |
+ "core": "lib/compiler/implementation/lib/core.dart", |
+ "coreimpl": "lib/compiler/implementation/lib/coreimpl.dart", |
+ "_js_helper": "lib/compiler/implementation/lib/js_helper.dart", |
+ "dom": "lib/dom/frog/dom_frog.dart", |
+ "html": "lib/html/frog/html_frog.dart", |
+ "io": "lib/compiler/implementation/lib/io.dart", |
+ "isolate": "lib/isolate/isolate_leg.dart", |
+ "json": "lib/json/json.dart", |
+ "uri": "lib/uri/uri.dart", |
+ "utf": "lib/utf/utf.dart", |
+}; |