public class Filegroup extends ModernBuildRule<Filegroup> implements HasOutputName, Buildable
srcs
to an output directory.Constructor and Description |
---|
Filegroup(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
SourcePathRuleFinder ruleFinder,
String name,
com.google.common.collect.ImmutableSortedSet<SourcePath> srcs) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext buildContext,
ProjectFilesystem filesystem,
OutputPathResolver outputPathResolver,
BuildCellRelativePathFactory buildCellPathFactory) |
String |
getOutputName(OutputLabel outputLabel)
Returns an output name for the build target associated with the given output label.
|
SourcePath |
getSourcePathToOutput() |
compareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolver
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isSupported
getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString
getDependencies, getSourcePathOutputs
getType
public Filegroup(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, SourcePathRuleFinder ruleFinder, String name, com.google.common.collect.ImmutableSortedSet<SourcePath> srcs)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext buildContext, ProjectFilesystem filesystem, OutputPathResolver outputPathResolver, BuildCellRelativePathFactory buildCellPathFactory)
getBuildSteps
in interface Buildable
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
getSourcePathToOutput
in class ModernBuildRule<Filegroup>
public String getOutputName(OutputLabel outputLabel)
HasOutputName
getOutputName
in interface HasOutputName