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

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

Issue 9865025: Revert "Removes dartc reliance on its own libraries, now can be targeted at any implementation's li… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « compiler/dartc.xml ('k') | compiler/java/com/google/dart/compiler/DartCompiler.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
diff --git a/compiler/java/com/google/dart/compiler/CommandLineOptions.java b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
index b9cf6418db4725750b04f0dcfc22fc16ee62642a..3a4dea3c931e29e0d8fc695df1360648e11d132c 100644
--- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
+++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
@@ -79,6 +79,7 @@ public class CommandLineOptions {
usage = "Enable incremental compilation")
private boolean incremental = false;
+ // TODO(zundel): -out is for backward compatibility until scripts are updated
@Option(name = "--work", aliases = { "-out" },
usage = "Directory to receive compiler output\n for future incremental builds")
private File workDirectory = new File("out");
@@ -103,17 +104,6 @@ public class CommandLineOptions {
usage = "Treat non-type warnings as fatal")
private boolean warningsAreFatal = false;
- @Option(name = "--platform",
- usage = "Platform libraries to analyze (e.g. dartium, vm, dart2js, frog, any)")
- private String platformName = SystemLibraryManager.DEFAULT_PLATFORM;
-
- @Option(name = "--dart-sdk",
- usage = "Path to dart sdk. (system property com.google.dart.sdk)")
- private File dartSdkPath = SystemLibraryManager.DEFAULT_SDK_PATH;
-
- @Option(name = "--show-sdk-warnings", usage = "show warnings from SDK source")
- private boolean showSdkWarnings = false;
-
@Argument
private final List<String> sourceFiles = new ArrayList<String>();
@@ -131,21 +121,6 @@ public class CommandLineOptions {
return jvmMetricDetail + ":" + jvmMetricFormat + ":" + jvmMetricType;
}
- public String getPlatformName() {
- return platformName;
- }
-
- public File getDartSdkPath() {
- return dartSdkPath;
- }
-
- /**
- * Returns whether warnings from SDK files should be suppressed.
- */
- public boolean suppressSdkWarnings() {
- return !showSdkWarnings;
- }
-
/**
* Returns the list of files passed to the compiler.
*/
« no previous file with comments | « compiler/dartc.xml ('k') | compiler/java/com/google/dart/compiler/DartCompiler.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698