Interface DependencyOnlyRuleAnalysisContext
-
- All Known Subinterfaces:
RuleAnalysisContext
- All Known Implementing Classes:
RuleAnalysisContextImpl
public interface DependencyOnlyRuleAnalysisContext
Reduced context fromRuleAnalysisContext
that only resolves deps and sources. This primarily exists to get around a circular dependency in some places that we want to use providers (namely in toolchains, whereActionRegistry
causes a circular dependency)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProviderInfoCollection
resolveDep(BuildTarget dep)
same asresolveDeps(Iterable)
but for one depMap<BuildTarget,ProviderInfoCollection>
resolveDeps(Iterable<BuildTarget> deps)
Artifact
resolveSrc(SourcePath src)
same asresolveSrcs(Iterable)
but for one srccom.google.common.collect.ImmutableSortedSet<Artifact>
resolveSrcs(Iterable<SourcePath> srcs)
-
-
-
Method Detail
-
resolveDeps
Map<BuildTarget,ProviderInfoCollection> resolveDeps(Iterable<BuildTarget> deps)
- Returns:
- a map of the
ProviderInfoCollection
of the providers propagated by each of the dependencies requested.
-
resolveDep
ProviderInfoCollection resolveDep(BuildTarget dep)
same asresolveDeps(Iterable)
but for one dep
-
resolveSrcs
com.google.common.collect.ImmutableSortedSet<Artifact> resolveSrcs(Iterable<SourcePath> srcs)
- Returns:
- a list of the
Artifact
of the sources of the providers propagated by each of the source paths requested.
-
resolveSrc
Artifact resolveSrc(SourcePath src)
same asresolveSrcs(Iterable)
but for one src
-
-