diff options
author | Michael Staib <mstaib@google.com> | 2016-03-01 15:40:29 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-03-01 19:13:36 +0000 |
commit | 04f6f245ae42bf53afa4f587591dba796f9c06cd (patch) | |
tree | 094f60decddb14d65e5166b4cb701c9d55fcc34c /src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java | |
parent | fc7797954072a7a8c02652ef15a06e9efd738865 (diff) |
Use two configurations for AspectKeys.
In order for Aspects to support dynamic configuration, they need to have two
configurations: one to instantiate the Aspect with, containing all the fragment
dependencies of the Aspect itself, and one to create the ConfiguredTargetValue.key
with, containing only the dependencies of the Rule. This expands AspectKey to
have a second configuration, although it currently does not populate that key with
anything different.
--
MOS_MIGRATED_REVID=115997454
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java index 571911115d..ed93b8e659 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/ToplevelSkylarkAspectFunction.java @@ -75,6 +75,7 @@ public class ToplevelSkylarkAspectFunction implements SkyFunction { SkyKey aspectKey = AspectValue.key( aspectLoadingKey.getTargetLabel(), + aspectLoadingKey.getAspectConfiguration(), aspectLoadingKey.getTargetConfiguration(), skylarkAspect.getAspectClass(), AspectParameters.EMPTY); |