public class GenruleDescription extends AbstractGenruleDescription<GenruleDescriptionArg> implements VersionRoot<GenruleDescriptionArg>
AbstractGenruleDescription.CommonArg
buckConfig, enableSandbox, sandboxExecutionStrategy, toolchainProvider
Constructor and Description |
---|
GenruleDescription(ToolchainProvider toolchainProvider,
BuckConfig buckConfig,
SandboxExecutionStrategy sandboxExecutionStrategy) |
Modifier and Type | Method and Description |
---|---|
protected BuildRule |
createBuildRule(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
ActionGraphBuilder graphBuilder,
GenruleDescriptionArg args,
Optional<Arg> cmd,
Optional<Arg> bash,
Optional<Arg> cmdExe) |
Class<GenruleDescriptionArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
boolean |
producesCacheableSubgraph()
Whether or not the build rule subgraph produced by this
Description is safe to cache in
IncrementalActionGraphGenerator
for incremental action graph generation. |
canExecuteRemotely, createBuildRule, createBuildRule, findDepsForTargetFromConstructorArgs, getAndroidToolsOptional, getGenruleType, getMacroHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isVersionRoot
createBuildRule
getConfigurationDeps
public GenruleDescription(ToolchainProvider toolchainProvider, BuckConfig buckConfig, SandboxExecutionStrategy sandboxExecutionStrategy)
public Class<GenruleDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<GenruleDescriptionArg>
protected BuildRule createBuildRule(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, ActionGraphBuilder graphBuilder, GenruleDescriptionArg args, Optional<Arg> cmd, Optional<Arg> bash, Optional<Arg> cmdExe)
createBuildRule
in class AbstractGenruleDescription<GenruleDescriptionArg>
public boolean producesCacheableSubgraph()
DescriptionWithTargetGraph
Description
is safe to cache in
IncrementalActionGraphGenerator
for incremental action graph generation.producesCacheableSubgraph
in interface Description<GenruleDescriptionArg>
producesCacheableSubgraph
in interface DescriptionWithTargetGraph<GenruleDescriptionArg>