mirror of https://github.com/bazelbuild/rules_cc
Introduce FlagGroup.expandIfTrue, expandIfFalse
This cl adds support for expand_if_true and expand_if_false messages to the flag_group, allowing more elegant design of build variables. This cl also adds IntegerValue VariableValue subclass. RELNOTES: NONE. PiperOrigin-RevId: 140849578
This commit is contained in:
parent
e355a0b91c
commit
460dbed363
|
@ -102,6 +102,10 @@ message CToolchain {
|
|||
optional string iterate_over = 3;
|
||||
|
||||
repeated string expand_if_all_available = 4;
|
||||
|
||||
optional string expand_if_true = 5;
|
||||
|
||||
optional string expand_if_false = 6;
|
||||
}
|
||||
|
||||
// A key/value pair to be added as an environment variable. The value of
|
||||
|
|
Loading…
Reference in New Issue