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

Unified Diff: frog/library.dart

Issue 10032015: Add support for the package: directive in Frog and dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review change 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 | « no previous file | frog/reader.dart » ('j') | lib/compiler/implementation/apiimpl.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/library.dart
diff --git a/frog/library.dart b/frog/library.dart
index 6b08f9fa54f3e3599d75ff40cf4aa51695a8e0e5..7007a571d8cd2b67b25f963eb3584a99d16d820e 100644
--- a/frog/library.dart
+++ b/frog/library.dart
@@ -59,6 +59,7 @@ class Library extends Element {
String makeFullPath(String filename) {
if (filename.startsWith('dart:')) return filename;
+ if (filename.startsWith('package:')) return filename;
// TODO(jmesserly): replace with node.js path.resolve
if (filename.startsWith('/')) return filename;
if (filename.startsWith('file:///')) return filename;
« no previous file with comments | « no previous file | frog/reader.dart » ('j') | lib/compiler/implementation/apiimpl.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698