diff options
author | 2018-06-13 12:47:13 -0700 | |
---|---|---|
committer | 2018-06-13 12:48:34 -0700 | |
commit | d6bd9eb43b8e4b47acd4e5003b586bd47edaba4e (patch) | |
tree | 4d7bbad65e5666c43dd6055adf692a38aefb6b00 /src/main/java/com/google/devtools/build/lib/runtime | |
parent | a320e4460f35767da7fc8eb824ce1f4b304b5e0f (diff) |
Add --experimental_supports_info_crosstool_configuration to support removal of bazel info crosstool-configuration
RELNOTES: None.
PiperOrigin-RevId: 200437121
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/InfoCommand.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoCommand.java index aa6cd6eaf4..036099b8c1 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/InfoCommand.java @@ -32,6 +32,7 @@ import com.google.devtools.build.lib.util.io.OutErr; import com.google.devtools.common.options.Option; import com.google.devtools.common.options.OptionDocumentationCategory; import com.google.devtools.common.options.OptionEffectTag; +import com.google.devtools.common.options.OptionMetadataTag; import com.google.devtools.common.options.OptionsBase; import com.google.devtools.common.options.OptionsParser; import com.google.devtools.common.options.OptionsProvider; @@ -73,6 +74,15 @@ public class InfoCommand implements BlazeCommand { help = "Include the \"Make\" environment in the output." ) public boolean showMakeEnvironment; + + @Option( + name = "experimental_supports_info_crosstool_configuration", + defaultValue = "true", + documentationCategory = OptionDocumentationCategory.UNDOCUMENTED, + effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS, OptionEffectTag.TERMINAL_OUTPUT}, + metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, + help = "Flag to roll out the removal of 'bazel info crosstool-configuration'.") + public boolean experimentalSupportsInfoCrosstoolConfiguration; } /** |