Package com.facebook.buck.infer
Interface UnresolvedInferPlatform
-
public interface UnresolvedInferPlatform
Used by descriptions to properly handleInferPlatform
. 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
.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method 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)
ReturnsInferPlatform
parse-time deps.InferPlatform
resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
Resolves to the platform.
-
-
-
Method Detail
-
resolve
InferPlatform resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
Resolves to the platform.
-
getParseTimeDeps
Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
ReturnsInferPlatform
parse-time deps.
-
addParseTimeDepsToInferFlavored
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.
-
-