Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: dart/frog/leg/library_map.dart

Issue 9866006: Add library mapping. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // TODO(ahe): Long term, it would probably be better if we do not use
6 // executable code to define the locations of libraries.
7
8 #library('library_map');
9
10 /**
11 * Specifies the location of Dart platform libraries.
12 */
13 final Map<String,String> DART2JS_LIBRARY_MAP = const <String> {
14 "core": "frog/leg/lib/core.dart",
15 "coreimpl": "frog/leg/lib/coreimpl.dart",
16 "_js_helper": "frog/leg/lib/js_helper.dart",
17 "dom": "lib/dom/frog/dom_frog.dart",
18 "html": "lib/html/frog/html_frog.dart",
19 "io": "frog/leg/lib/io.dart",
20 "isolate": "lib/isolate/isolate_leg.dart",
21 "json": "lib/json/json.dart",
22 "uri": "lib/uri/uri.dart",
23 "utf": "lib/utf/utf.dart",
24 };
zundel 2012/03/26 22:08:20 This looks just like the .property files we are co
ahe 2012/03/28 15:31:43 I don't mind a common format, I'm using a const ma
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698