mirror of https://github.com/bazelbuild/rules_cc
Introduce expand_if_none_available to crosstool
This feature allows us to expand a flag_group when a build variable is not available. This is helpful when migrating crosstools in a backward compatible way (that works with released bazel as well as with bazel at HEAD). RELNOTES: NONE. PiperOrigin-RevId: 143955333
This commit is contained in:
parent
9cc6bd0f71
commit
2aabbef2f1
|
@ -103,11 +103,13 @@ message CToolchain {
|
|||
|
||||
repeated string expand_if_all_available = 4;
|
||||
|
||||
optional string expand_if_true = 5;
|
||||
repeated string expand_if_none_available = 5;
|
||||
|
||||
optional string expand_if_false = 6;
|
||||
optional string expand_if_true = 6;
|
||||
|
||||
optional VariableWithValue expand_if_equal = 7;
|
||||
optional string expand_if_false = 7;
|
||||
|
||||
optional VariableWithValue expand_if_equal = 8;
|
||||
}
|
||||
|
||||
message VariableWithValue {
|
||||
|
|
Loading…
Reference in New Issue