Flip --incompatible_disable_expand_if_all_available_in_flag_set

FlagSets in the CROSSTOOL no longer accept expand_if_all_available field

Fixes #7008

RELNOTES: `--incompatible_disable_expand_if_all_available_in_flag_set` has been flipped (https://github.com/bazelbuild/bazel/issues/7008)
PiperOrigin-RevId: 234466411
This commit is contained in:
hlopko 2019-02-18 05:16:03 -08:00 committed by Copybara-Service
parent 5743a325d1
commit 2e79abf8ca
1 changed files with 3 additions and 13 deletions

View File

@ -16,11 +16,11 @@
syntax = "proto2"; syntax = "proto2";
package com.google.devtools.build.lib.view.config.crosstool;
option java_package = "com.google.devtools.build.lib.view.config.crosstool"; option java_package = "com.google.devtools.build.lib.view.config.crosstool";
package com.google.devtools.build.lib.view.config.crosstool;
// A description of a toolchain, which includes all the tools generally expected // A description of a toolchain, which includes all the tools generally expected
// to be available for building C/C++ targets, based on the GNU C compiler. // to be available for building C/C++ targets, based on the GNU C compiler.
// //
@ -148,17 +148,7 @@ message CToolchain {
// unconditionally for every action specified. // unconditionally for every action specified.
repeated WithFeatureSet with_feature = 3; repeated WithFeatureSet with_feature = 3;
// Deprecated (https://github.com/bazelbuild/bazel/issues/7008) - use // Legacy field, ignored by Bazel.
// expand_if_all_available in flag_group
//
// A list of build variables that this feature set needs, but which are
// allowed to not be set. If any of the build variables listed is not
// set, the feature set will not be expanded.
//
// NOTE: Consider alternatives before using this; usually tools should
// consistently create the same set of files, even if empty; use this
// only for backwards compatibility with already existing behavior in tools
// that are currently not worth changing.
repeated string expand_if_all_available = 4; repeated string expand_if_all_available = 4;
} }