mirror of https://github.com/bazelbuild/rules_cc
Introduce support for 'expand_if_all_available' for flag_groups in CROSSTOOL
With the recent addition of structured variables to CROSSTOOL we now need a way how to conditionally expand various flag_groups depending on the presence of particular build variable or its fields. This cl adds this support to flag groups. RELNOTES: NONE. PiperOrigin-RevId: 139466070
This commit is contained in:
parent
b987fd2ae5
commit
e355a0b91c
|
@ -100,6 +100,8 @@ message CToolchain {
|
|||
repeated FlagGroup flag_group = 2;
|
||||
|
||||
optional string iterate_over = 3;
|
||||
|
||||
repeated string expand_if_all_available = 4;
|
||||
}
|
||||
|
||||
// A key/value pair to be added as an environment variable. The value of
|
||||
|
|
Loading…
Reference in New Issue