public class BinaryBuildRuleToolProvider extends Object implements ToolProvider, RuleAnalysisLegacyToolProvider
ToolProvider
which provides the Tool
object of the BinaryBuildRule
references by a given BuildTarget
.Constructor and Description |
---|
BinaryBuildRuleToolProvider(UnconfiguredBuildTarget target,
String source) |
Modifier and Type | Method and Description |
---|---|
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration) |
RunInfo |
getRunInfo(DependencyOnlyRuleAnalysisContext context,
TargetConfiguration targetConfiguration) |
Tool |
resolve(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration) |
public BinaryBuildRuleToolProvider(UnconfiguredBuildTarget target, String source)
public Tool resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
resolve
in interface ToolProvider
Tool
object.public Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
getParseTimeDeps
in interface ToolProvider
public RunInfo getRunInfo(DependencyOnlyRuleAnalysisContext context, TargetConfiguration targetConfiguration)
getRunInfo
in interface RuleAnalysisLegacyToolProvider
RunInfo
that will execute a given tool