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

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

Issue 10377181: add support for package: to the editor (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 7 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/SystemLibraryManager.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/CommandLineOptions.java
===================================================================
--- compiler/java/com/google/dart/compiler/CommandLineOptions.java (revision 7713)
+++ compiler/java/com/google/dart/compiler/CommandLineOptions.java (working copy)
@@ -103,6 +103,10 @@
usage = "Path to dart sdk. (system property com.google.dart.sdk)")
private File dartSdkPath = SystemLibraryManager.DEFAULT_SDK_PATH;
+ @Option(name = "--package-root",
+ usage = "Root directory used for the package: scheme")
+ private File packageRoot = SystemLibraryManager.DEFAULT_PACKAGE_ROOT;
+
@Option(name = "--show-sdk-warnings", usage = "show warnings from SDK source")
private boolean showSdkWarnings = false;
@@ -135,6 +139,13 @@
return platformName;
}
+ /**
+ * @return the packageRoot
+ */
+ public File getPackageRoot() {
+ return packageRoot;
+ }
+
public File getDartSdkPath() {
return dartSdkPath;
}
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/SystemLibraryManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698