public class GenruleBinary extends Genrule implements BinaryBuildRule
Modifier | Constructor and Description |
---|---|
protected |
GenruleBinary(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
SandboxExecutionStrategy sandboxExecutionStrategy,
BuildRuleResolver resolver,
SourceSet srcs,
Optional<Arg> cmd,
Optional<Arg> bash,
Optional<Arg> cmdExe,
Optional<String> type,
Optional<String> out,
Optional<com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableSet<String>>> outs,
boolean isCacheable,
Optional<String> environmentExpansionSeparator,
Optional<AndroidTools> androidTools,
boolean executeRemotely) |
Modifier and Type | Method and Description |
---|---|
Tool |
getExecutableCommand(OutputLabel outputLabel)
Command to execute the output of this rule.
|
getOutputLabels, getOutputName, getSourcePathToOutput, getSourcePathToOutput, getType, isCacheable
compareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolver
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
getOutputName
getOutputLabels, getSourcePathToOutput, getSourcePathToOutput
isSupported
protected GenruleBinary(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, SandboxExecutionStrategy sandboxExecutionStrategy, BuildRuleResolver resolver, SourceSet srcs, Optional<Arg> cmd, Optional<Arg> bash, Optional<Arg> cmdExe, Optional<String> type, Optional<String> out, Optional<com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableSet<String>>> outs, boolean isCacheable, Optional<String> environmentExpansionSeparator, Optional<AndroidTools> androidTools, boolean executeRemotely)
public Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRule
getExecutableCommand
in interface BinaryBuildRule
outputLabel
- associated with the executable