Add expand_if_equal crosstool.proto message
This will be used by LibrariesToLinkValue to switch on many different types of
libraries.
RELNOTES: NONE.
PiperOrigin-RevId: 143438434
diff --git a/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto b/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto
index 3e216c0..4e9722a 100644
--- a/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto
+++ b/third_party/com/github/bazelbuild/bazel/src/main/protobuf/crosstool_config.proto
@@ -106,6 +106,14 @@
optional string expand_if_true = 5;
optional string expand_if_false = 6;
+
+ optional VariableWithValue expand_if_equal = 7;
+ }
+
+ message VariableWithValue {
+ required string variable = 1;
+
+ required string value = 2;
}
// A key/value pair to be added as an environment variable. The value of