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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 10837369: fix build failure, rename refactor take 2 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
===================================================================
--- compiler/java/com/google/dart/compiler/DartCompiler.java (revision 11101)
+++ compiler/java/com/google/dart/compiler/DartCompiler.java (working copy)
@@ -1038,7 +1038,7 @@
}
CompilerConfiguration config = new DefaultCompilerConfiguration(compilerOptions);
- config.getSystemLibraryManager().setPackageRoots(Arrays.asList(new File[]{compilerOptions.getPackageRoot()}));
+ config.getPackageLibraryManager().setPackageRoots(Arrays.asList(new File[]{compilerOptions.getPackageRoot()}));
return compilerMain(sourceFile, config);
}
@@ -1103,7 +1103,7 @@
File outputDirectory = config.getOutputDirectory();
DefaultDartArtifactProvider provider = new DefaultDartArtifactProvider(outputDirectory);
// Compile the Dart application and its dependencies.
- PackageLibraryManager libraryManager = config.getSystemLibraryManager();
+ PackageLibraryManager libraryManager = config.getPackageLibraryManager();
final LibrarySource lib = new UrlLibrarySource(sourceFile.toURI(),libraryManager);
DefaultDartCompilerListener listener;
if (config.getCompilerOptions().showSourceFromAst()) {
@@ -1213,7 +1213,7 @@
public static LibraryUnit analyzeLibrary(LibrarySource lib, final Map<URI, DartUnit> parsedUnits,
CompilerConfiguration config, DartArtifactProvider provider, DartCompilerListener listener)
throws IOException {
- final PackageLibraryManager manager = config.getSystemLibraryManager();
+ final PackageLibraryManager manager = config.getPackageLibraryManager();
final HashMap<URI, LibraryUnit> resolvedLibs = new HashMap<URI, LibraryUnit>();
SelectiveCache selectiveCache = new SelectiveCache() {
@Override

Powered by Google App Engine
This is Rietveld 408576698