use of com.google.devtools.build.lib.analysis.AspectCollection in project bazel by bazelbuild.
the class ConfiguredTargetFunction method getAspectKeys.
private static Map<AspectDescriptor, SkyKey> getAspectKeys(Dependency dep) {
HashMap<AspectDescriptor, SkyKey> result = new HashMap<>();
AspectCollection aspects = dep.getAspects();
for (AspectDeps aspectDeps : aspects.getVisibleAspects()) {
buildAspectKey(aspectDeps, result, dep);
}
return result;
}
Aggregations