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

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

Issue 9873021: Move frog/leg to lib/compiler/implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « lib/compiler/compiler.dart ('k') | lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/apiimpl.dart
===================================================================
--- lib/compiler/implementation/apiimpl.dart (revision 5925)
+++ lib/compiler/implementation/apiimpl.dart (working copy)
@@ -8,9 +8,10 @@
#import('elements/elements.dart', prefix: 'leg');
#import('tree/tree.dart', prefix: 'leg');
#import('ssa/tracer.dart', prefix: 'ssa');
-#import('../lang.dart', prefix: 'frog');
-#import('api.dart');
-#import('../../lib/uri/uri.dart');
+// TODO(ahe): Remove dependency on frog.
+#import('../../../frog/lang.dart', prefix: 'frog');
+#import('../compiler.dart');
+#import('../../uri/uri.dart');
class Compiler extends leg.Compiler {
ReadUriFromString provider;
@@ -53,21 +54,21 @@
// TODO(ahe): Clean this up.
if (uriName == 'dart:dom') {
mockableLibraryUsed = true;
- return libraryRoot.resolve('../../../lib/dom/frog/dom_frog.dart');
+ return libraryRoot.resolve('../../../../lib/dom/frog/dom_frog.dart');
} else if (uriName == 'dart:html') {
mockableLibraryUsed = true;
- return libraryRoot.resolve('../../../lib/html/frog/html_frog.dart');
+ return libraryRoot.resolve('../../../../lib/html/frog/html_frog.dart');
} else if (uriName == 'dart:json') {
- return libraryRoot.resolve('../../../lib/json/json.dart');
+ return libraryRoot.resolve('../../../../lib/json/json.dart');
} else if (uriName == 'dart:isolate') {
- return libraryRoot.resolve('../../../lib/isolate/isolate_leg.dart');
+ return libraryRoot.resolve('../../../../lib/isolate/isolate_leg.dart');
} else if (uriName == 'dart:io') {
mockableLibraryUsed = true;
return libraryRoot.resolve('io.dart');
} else if (uriName == 'dart:utf') {
- return libraryRoot.resolve('../../../lib/utf/utf.dart');
+ return libraryRoot.resolve('../../../../lib/utf/utf.dart');
} else if (uriName == 'dart:uri') {
- return libraryRoot.resolve('../../../lib/uri/uri.dart');
+ return libraryRoot.resolve('../../../../lib/uri/uri.dart');
}
reportError(node, "library not found $uriName");
}
« no previous file with comments | « lib/compiler/compiler.dart ('k') | lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698