diff options
author | 2016-03-18 17:14:43 +0000 | |
---|---|---|
committer | 2016-03-21 09:34:19 +0000 | |
commit | 51a491b89a9cd5f15c9a093a5693bc37e696e6e1 (patch) | |
tree | 11e7c7e08ae7926aede36c4a0b2b012cf7c62f08 /src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java | |
parent | c3620ef1b846be72fdf27d00a764a10d05e5cd4e (diff) |
Add a new field to options called defaultMultipleValue which enables setting default values for
flags whose allowMultiple is true.
The behavior is the following:
- If allowMultiple is false then behave as previously.
- Otherwise for retrieving the default we now look at defaultMultipleValue instead of defaultValue and
in the process it will apply the converter to each element. If no defaultMultipleValue is specified
then the default value will be an empty list.
--
MOS_MIGRATED_REVID=117558645
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/SkylarkRuleImplementationFunctions.java')
0 files changed, 0 insertions, 0 deletions