public class JsBundleGenruleDescription extends AbstractGenruleDescription<JsBundleGenruleDescriptionArg> implements Flavored, HasAppleBundleResourcesDescription<JsBundleGenruleDescriptionArg>, JsBundleOutputsDescription<JsBundleGenruleDescriptionArg>
AbstractGenruleDescription.CommonArg
buckConfig, enableSandbox, sandboxExecutionStrategy, toolchainProvider
Constructor and Description |
---|
JsBundleGenruleDescription(ToolchainProvider toolchainProvider,
BuckConfig config,
SandboxExecutionStrategy sandboxExecutionStrategy) |
Modifier and Type | Method and Description |
---|---|
void |
addAppleBundleResources(AppleBundleResources.Builder builder,
TargetNode<JsBundleGenruleDescriptionArg> targetNode,
ProjectFilesystem filesystem,
BuildRuleResolver resolver) |
protected BuildRule |
createBuildRule(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
ActionGraphBuilder graphBuilder,
JsBundleGenruleDescriptionArg args,
Optional<Arg> cmd,
Optional<Arg> bash,
Optional<Arg> cmdExe) |
Optional<com.google.common.collect.ImmutableSet<FlavorDomain<?>>> |
flavorDomains(TargetConfiguration toolchainTargetConfiguration) |
Class<JsBundleGenruleDescriptionArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
boolean |
hasFlavors(com.google.common.collect.ImmutableSet<Flavor> flavors,
TargetConfiguration toolchainTargetConfiguration) |
canExecuteRemotely, createBuildRule, createBuildRule, findDepsForTargetFromConstructorArgs, getAndroidToolsOptional, getGenruleType, getMacroHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBuildRule, producesCacheableSubgraph
getConfigurationDeps
public JsBundleGenruleDescription(ToolchainProvider toolchainProvider, BuckConfig config, SandboxExecutionStrategy sandboxExecutionStrategy)
public Class<JsBundleGenruleDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<JsBundleGenruleDescriptionArg>
protected BuildRule createBuildRule(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, ActionGraphBuilder graphBuilder, JsBundleGenruleDescriptionArg args, Optional<Arg> cmd, Optional<Arg> bash, Optional<Arg> cmdExe)
createBuildRule
in class AbstractGenruleDescription<JsBundleGenruleDescriptionArg>
public void addAppleBundleResources(AppleBundleResources.Builder builder, TargetNode<JsBundleGenruleDescriptionArg> targetNode, ProjectFilesystem filesystem, BuildRuleResolver resolver)
addAppleBundleResources
in interface HasAppleBundleResourcesDescription<JsBundleGenruleDescriptionArg>
public boolean hasFlavors(com.google.common.collect.ImmutableSet<Flavor> flavors, TargetConfiguration toolchainTargetConfiguration)
hasFlavors
in interface Flavored
flavors
- The set of Flavor
s to consider. All must match.BuildRule
of the given Flavor
can be created.public Optional<com.google.common.collect.ImmutableSet<FlavorDomain<?>>> flavorDomains(TargetConfiguration toolchainTargetConfiguration)
flavorDomains
in interface Flavored