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

Unified Diff: dart/lib/compiler/implementation/dart2js.dart

Issue 10266011: Shoehorn dart2js into the SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/frog/scripts/buildbot_annotated_steps.py ('k') | dart/lib/compiler/implementation/filenames.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/dart2js.dart
diff --git a/dart/lib/compiler/implementation/dart2js.dart b/dart/lib/compiler/implementation/dart2js.dart
index 93c5761bcdad3c2ae969b5ead74f41507eaf171d..807d79c4c46227ddcf697b3d59a5457c8335fac0 100644
--- a/dart/lib/compiler/implementation/dart2js.dart
+++ b/dart/lib/compiler/implementation/dart2js.dart
@@ -138,7 +138,8 @@ void fail(String message) {
}
void compilerMain(Options options) {
- List<String> argv = ['--library-root=${options.script}/$LIBRARY_ROOT'];
+ var root = uriPathToNative("/$LIBRARY_ROOT");
+ List<String> argv = ['--library-root=${options.script}$root'];
argv.addAll(options.arguments);
compile(argv);
}
« no previous file with comments | « dart/frog/scripts/buildbot_annotated_steps.py ('k') | dart/lib/compiler/implementation/filenames.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698