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, isCacheablecompareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolverequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypegetOutputNamegetOutputLabels, getSourcePathToOutput, getSourcePathToOutputisSupportedprotected 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)
BinaryBuildRulegetExecutableCommand in interface BinaryBuildRuleoutputLabel - associated with the executable