aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf/crosstool_config.proto
diff options
context:
space:
mode:
authorGravatar Marcel Hlopko <hlopko@google.com>2016-12-02 15:53:53 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-12-02 19:08:56 +0000
commit4d6bb5bf55920dc95b27a4f5c265d3292592f737 (patch)
tree6275745f78d137c63d438a30e2e201eff9382241 /src/main/protobuf/crosstool_config.proto
parent479e18d7b2662bfa9b49de010fcc0942d5ae2d05 (diff)
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. -- PiperOrigin-RevId: 140849578 MOS_MIGRATED_REVID=140849578
Diffstat (limited to 'src/main/protobuf/crosstool_config.proto')
-rw-r--r--src/main/protobuf/crosstool_config.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/protobuf/crosstool_config.proto b/src/main/protobuf/crosstool_config.proto
index 51cb5db33b..190c3f546e 100644
--- a/src/main/protobuf/crosstool_config.proto
+++ b/src/main/protobuf/crosstool_config.proto
@@ -100,6 +100,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