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

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

Issue 10916099: load sdk libraries defined in libraries.dart (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 3 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/PackageLibraryManager.java
===================================================================
--- compiler/java/com/google/dart/compiler/PackageLibraryManager.java (revision 11825)
+++ compiler/java/com/google/dart/compiler/PackageLibraryManager.java (working copy)
@@ -87,7 +87,7 @@
public PackageLibraryManager(File sdkPath, String platformName) {
if (SDK_LIBRARY_MANAGER == null){
- SDK_LIBRARY_MANAGER = new SystemLibraryManager(sdkPath, platformName);
+ SDK_LIBRARY_MANAGER = new SystemLibraryManager(sdkPath);
}
setPackageRoots(DEFAULT_PACKAGE_ROOTS);
}
@@ -162,9 +162,6 @@
/**
* Given a package URI (package:foo/foo.dart), convert it into a file system URI.
- *
- * @param relPath
- * @return
*/
public URI resolvePackageUri(String packageUriRef) {
if (packageUriRef.startsWith(PACKAGE_SCHEME_SPEC)) {

Powered by Google App Engine
This is Rietveld 408576698