aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/docs/tutorial/environment.md
diff options
context:
space:
mode:
authorGravatar mstaib <mstaib@google.com>2017-05-31 18:17:06 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-06-01 14:07:41 +0200
commitfd2c682a6a6bb0759f92476e533bffd2883b9c27 (patch)
tree10fe94488353823aea7d0872995e65823d8f632e /site/docs/tutorial/environment.md
parent65ceda9c9f686bc27f7319817985a4df07b60f9d (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