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

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

Issue 9466041: Removes dependency on v8 from dartc testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated date, copyright notices, build.xml Created 8 years, 10 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/UnitTestBatchRunner.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 068ed9d2176c355afaf92c9a3284517e5632472c..8429f18f1ae17ed35f5a80f33c9ea2b4deda064c 100644
--- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
+++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
@@ -6,8 +6,6 @@ package com.google.dart.compiler;
import com.google.common.collect.Lists;
import com.google.dart.compiler.CompilerConfiguration.ErrorFormat;
-import com.google.dart.runner.DartRunner;
-import com.google.dart.runner.RunnerOptions;
import org.kohsuke.args4j.Argument;
import org.kohsuke.args4j.CmdLineException;
@@ -253,49 +251,6 @@ public class CommandLineOptions {
}
/**
- * Command line options accepted by the {@link DartRunner} entry point.
- */
- public static class DartRunnerOptions extends CompilerOptions implements RunnerOptions {
-
- @Option(name = "--compile-only", usage = "Compile but do not execute")
- private boolean compileOnly = false;
-
- @Option(name = "--verbose", usage = "Extra diagnostic output")
- private boolean verbose = false;
-
- @Option(name="--prof", usage = "Enable profiling")
- private boolean prof;
-
- /**
- * @return <code>true</code> if the program should compile but not execute.
- */
- @Override
- public boolean shouldCompileOnly() {
- return compileOnly;
- }
-
- /**
- * Returns <code>true</code> if profiling is enabled.
- */
- @Override
- public boolean shouldProfile() {
- return prof;
- }
-
- /**
- * @return <code>true</code> to enable diagnostic output
- */
- @Override
- public boolean verbose() {
- return verbose;
- }
-
- public void setVerbose(boolean value) {
- this.verbose = value;
- }
- }
-
- /**
* Parses command line options, handling the feature to ignore unrecognized
* flags.
*
« no previous file with comments | « compiler/dartc.xml ('k') | compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698