diff options
author | 2017-05-31 18:17:06 +0200 | |
---|---|---|
committer | 2017-06-01 14:07:41 +0200 | |
commit | fd2c682a6a6bb0759f92476e533bffd2883b9c27 (patch) | |
tree | 10fe94488353823aea7d0872995e65823d8f632e /site/docs/tutorial/environment.md | |
parent | 65ceda9c9f686bc27f7319817985a4df07b60f9d (diff) |
Fix aliases for users of label-keyed string dicts.
Aliases mess with the assumption that
attributeValue.containsKey(target.getLabel())
for every target in the prerequisites of a LABEL_KEYED_STRING_DICT
attribute.
The solution is to use AliasProvider.getDependencyLabel(target) instead.
This fixes it for all current users, including SkylarkRuleContext.
This also adjusts config_setting flag_values and Android feature_flags
to do intelligent things with aliases in their respective attributes.
RELNOTES: None.
PiperOrigin-RevId: 157594095
Diffstat (limited to 'site/docs/tutorial/environment.md')
0 files changed, 0 insertions, 0 deletions