public interface UnresolvedInferPlatform
InferPlatform
. Particularly:
During parsing and configuration it provides information about parse-time deps, for instance when infer binary or infer config are provided by some targets that otherwise not needed for the build.
During action graph creation it can be resolved to InferPlatform
.
Modifier and Type | Method and Description |
---|---|
static void |
addParseTimeDepsToInferFlavored(com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder,
BuildTarget buildTarget,
UnresolvedInferPlatform platform)
Helper method to add parse-time deps to target graph for nullsafe flavored targets.
|
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration)
Returns
InferPlatform parse-time deps. |
InferPlatform |
resolve(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration)
Resolves to the platform.
|
InferPlatform resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
InferPlatform
parse-time deps.static void addParseTimeDepsToInferFlavored(com.google.common.collect.ImmutableCollection.Builder<BuildTarget> targetGraphOnlyDepsBuilder, BuildTarget buildTarget, UnresolvedInferPlatform platform)