public class AppleDebuggableBinary extends AbstractBuildRule implements BuildRuleWithBinary, HasRuntimeDeps, HasDeclaredAndExtraDeps
Modifier and Type | Field and Description |
---|---|
static Flavor |
RULE_FLAVOR |
Modifier and Type | Method and Description |
---|---|
static boolean |
canWrapBinaryBuildRule(BuildRule binaryBuildRule)
Indicates whether its possible to wrap given _binary_ rule.
|
SortedSet<BuildRule> |
deprecatedGetExtraDeps() |
Optional<AppleDsym> |
getAppleDsym() |
BuildRule |
getBinaryBuildRule() |
SortedSet<BuildRule> |
getBuildDeps() |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
SortedSet<BuildRule> |
getDeclaredDeps() |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
SourcePath |
getSourcePathToOutput() |
com.google.common.collect.ImmutableSortedSet<BuildRule> |
getTargetGraphOnlyDeps() |
static boolean |
isBuildRuleDebuggable(BuildRule buildRule) |
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolver
getDependencies, getSourcePathOutputs
getType
public static final Flavor RULE_FLAVOR
public static boolean canWrapBinaryBuildRule(BuildRule binaryBuildRule)
public static boolean isBuildRuleDebuggable(BuildRule buildRule)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
public BuildRule getBinaryBuildRule()
getBinaryBuildRule
in interface BuildRuleWithBinary
public java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps
in interface HasRuntimeDeps
public 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 SortedSet<BuildRule> getDeclaredDeps()
getDeclaredDeps
in interface HasDeclaredAndExtraDeps
public SortedSet<BuildRule> deprecatedGetExtraDeps()
deprecatedGetExtraDeps
in interface HasDeclaredAndExtraDeps
public com.google.common.collect.ImmutableSortedSet<BuildRule> getTargetGraphOnlyDeps()
getTargetGraphOnlyDeps
in interface HasDeclaredAndExtraDeps