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:
hlopko 2016-12-02 16:53:53 +01:00 committed by Marcel Hlopko
parent e355a0b91c
commit 460dbed363
1 changed files with 4 additions and 0 deletions

View File

@ -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