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, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getBuildSteps, getFullyQualifiedName, getSourcePathToOutput, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionprotected AbstractBuildRuleWithDeclaredAndExtraDeps(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams buildRuleParams)
public final SortedSet<BuildRule> getBuildDeps()
getBuildDeps in interface BuildRuledeps 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 HasDeclaredAndExtraDepspublic final SortedSet<BuildRule> deprecatedGetExtraDeps()
deprecatedGetExtraDeps in interface HasDeclaredAndExtraDepspublic final com.google.common.collect.ImmutableSortedSet<BuildRule> getTargetGraphOnlyDeps()
getTargetGraphOnlyDeps in interface HasDeclaredAndExtraDeps