| Index: compiler/java/com/google/dart/compiler/DartCompiler.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/DartCompiler.java (revision 9979)
|
| +++ compiler/java/com/google/dart/compiler/DartCompiler.java (working copy)
|
| @@ -1091,7 +1091,8 @@
|
| File outputDirectory = config.getOutputDirectory();
|
| DefaultDartArtifactProvider provider = new DefaultDartArtifactProvider(outputDirectory);
|
| // Compile the Dart application and its dependencies.
|
| - final LibrarySource lib = new UrlLibrarySource(sourceFile);
|
| + SystemLibraryManager libraryManager = config.getSystemLibraryManager();
|
| + final LibrarySource lib = new UrlLibrarySource(sourceFile.toURI(),libraryManager);
|
| DefaultDartCompilerListener listener;
|
| if (config.getCompilerOptions().showSourceFromAst()) {
|
| listener = new DefaultDartCompilerListener(config.printErrorFormat()) {
|
|
|