aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java
diff options
context:
space:
mode:
authorGravatar brandjon <brandjon@google.com>2017-08-17 22:28:22 +0200
committerGravatar Irina Iancu <elenairina@google.com>2017-08-18 09:02:02 +0200
commit41655a9d68008ada3bb4dc5540c21badf25809ed (patch)
tree7e218d08cebc59db8af32f8706df77afa9da14ee /src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java
parentf426544e67170d31b9d228ecf4cdc4b6ce1ba00d (diff)
Add Skylark flags as common command options
This makes these flags accessible to all commands, including some that don't do anything with Skylark (e.g. canonicalize-flags). This leads to spammier help messages. But the benefit is that it allows them to appear on a "common" line in the .bazelrc. Fixes #3538. RELNOTES: Skylark-related options may now appear as "common" command options in the .bazelrc PiperOrigin-RevId: 165620829
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java
index fb7b4d2f2e..5f8077f2e6 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java
@@ -25,7 +25,6 @@ import com.google.devtools.build.lib.runtime.BlazeCommand;
import com.google.devtools.build.lib.runtime.BlazeRuntime;
import com.google.devtools.build.lib.runtime.Command;
import com.google.devtools.build.lib.runtime.CommandEnvironment;
-import com.google.devtools.build.lib.syntax.SkylarkSemanticsOptions;
import com.google.devtools.build.lib.util.ExitCode;
import com.google.devtools.common.options.OptionsParser;
import com.google.devtools.common.options.OptionsProvider;
@@ -41,7 +40,6 @@ import java.util.List;
ExecutionOptions.class,
LocalExecutionOptions.class,
PackageCacheOptions.class,
- SkylarkSemanticsOptions.class,
BuildView.Options.class,
LoadingOptions.class,
},