public interface DependencyOnlyRuleAnalysisContext
RuleAnalysisContext
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, where ActionRegistry
causes a circular dependency)Modifier and Type | Method and Description |
---|---|
ProviderInfoCollection |
resolveDep(BuildTarget dep)
same as
resolveDeps(Iterable) but for one dep |
Map<BuildTarget,ProviderInfoCollection> |
resolveDeps(Iterable<BuildTarget> deps) |
Artifact |
resolveSrc(SourcePath src)
same as
resolveSrcs(Iterable) but for one src |
com.google.common.collect.ImmutableSortedSet<Artifact> |
resolveSrcs(Iterable<SourcePath> srcs) |
Map<BuildTarget,ProviderInfoCollection> resolveDeps(Iterable<BuildTarget> deps)
ProviderInfoCollection
of the providers propagated by each of the
dependencies requested.ProviderInfoCollection resolveDep(BuildTarget dep)
resolveDeps(Iterable)
but for one depcom.google.common.collect.ImmutableSortedSet<Artifact> resolveSrcs(Iterable<SourcePath> srcs)
Artifact
of the sources of the providers propagated by each of
the source paths requested.Artifact resolveSrc(SourcePath src)
resolveSrcs(Iterable)
but for one src