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

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

Issue 9702034: Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: junit tests fixed 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
Index: compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
diff --git a/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java b/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
index 7feb6c3e711e54c79fd5f67af51cdb23f6284e8a..cf3e5c6c383170887af6278eb0372625f020c626 100644
--- a/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
+++ b/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
@@ -38,7 +38,8 @@ public class DefaultCompilerConfiguration implements CompilerConfiguration {
* A new instance with the specified {@link CompilerOptions}.
*/
public DefaultCompilerConfiguration(CompilerOptions compilerOptions) {
- this(compilerOptions, new SystemLibraryManager());
+ this(compilerOptions, new SystemLibraryManager(compilerOptions.getDartSdkPath(),
+ compilerOptions.getImplementationName()));
}
/**

Powered by Google App Engine
This is Rietveld 408576698