public abstract class AbstractBuildRuleWithDeclaredAndExtraDeps extends AbstractBuildRule implements HasDeclaredAndExtraDeps
Modifier | Constructor and Description |
---|---|
protected |
AbstractBuildRuleWithDeclaredAndExtraDeps(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams buildRuleParams) |
Modifier and Type | Method and Description |
---|---|
SortedSet<BuildRule> |
deprecatedGetExtraDeps() |
SortedSet<BuildRule> |
getBuildDeps() |
SortedSet<BuildRule> |
getDeclaredDeps() |
com.google.common.collect.ImmutableSortedSet<BuildRule> |
getTargetGraphOnlyDeps()
|
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getBuildSteps, getFullyQualifiedName, getSourcePathToOutput, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
protected AbstractBuildRuleWithDeclaredAndExtraDeps(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams buildRuleParams)
public final SortedSet<BuildRule> getBuildDeps()
getBuildDeps
in interface BuildRule
deps
argument for this build rule in the build file in which it was defined.
However, there are special cases where other arguments pull in implicit dependencies
(e.g., the keystore
argument in android_binary
). In these cases, the
implicit dependencies are also included in the set returned by this method. The value of
the original deps
argument, as defined in the build file, must be accessed via a
custom getter provided by the build rule.
public final SortedSet<BuildRule> getDeclaredDeps()
getDeclaredDeps
in interface HasDeclaredAndExtraDeps
public final SortedSet<BuildRule> deprecatedGetExtraDeps()
deprecatedGetExtraDeps
in interface HasDeclaredAndExtraDeps
public final com.google.common.collect.ImmutableSortedSet<BuildRule> getTargetGraphOnlyDeps()
getTargetGraphOnlyDeps
in interface HasDeclaredAndExtraDeps