| Index: compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java (revision 11101)
|
| +++ compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java (working copy)
|
| @@ -25,7 +25,7 @@
|
|
|
| private final CompilerMetrics compilerMetrics;
|
|
|
| - private final PackageLibraryManager systemLibraryManager;
|
| + private final PackageLibraryManager packageLibraryManager;
|
|
|
|
|
| /**
|
| @@ -50,7 +50,7 @@
|
| PackageLibraryManager libraryManager) {
|
| this.compilerOptions = compilerOptions;
|
| this.compilerMetrics = compilerOptions.showMetrics() ? new CompilerMetrics() : null;
|
| - this.systemLibraryManager = libraryManager;
|
| + this.packageLibraryManager = libraryManager;
|
| }
|
|
|
| @Override
|
| @@ -112,17 +112,17 @@
|
| }
|
|
|
| // Verify the dart system library exists
|
| - if( null == this.systemLibraryManager.expandRelativeDartUri(systemUri) ) {
|
| + if( null == this.packageLibraryManager.expandRelativeDartUri(systemUri) ) {
|
| return null;
|
| }
|
|
|
| // Ensure we are using the short form if it exists
|
| - URI shortUri = systemLibraryManager.getShortUri(systemUri);
|
| + URI shortUri = packageLibraryManager.getShortUri(systemUri);
|
| if (shortUri != null) {
|
| systemUri = shortUri;
|
| }
|
|
|
| - return new UrlLibrarySource(systemUri, this.systemLibraryManager);
|
| + return new UrlLibrarySource(systemUri, this.packageLibraryManager);
|
| }
|
|
|
| @Override
|
| @@ -136,7 +136,7 @@
|
| }
|
|
|
| @Override
|
| - public PackageLibraryManager getSystemLibraryManager() {
|
| - return systemLibraryManager;
|
| + public PackageLibraryManager getPackageLibraryManager() {
|
| + return packageLibraryManager;
|
| }
|
| }
|
|
|