public class AndroidAar extends AbstractBuildRuleWithDeclaredAndExtraDeps implements HasClasspathEntries
Modifier and Type | Field and Description |
---|---|
static String |
AAR_FORMAT |
Constructor and Description |
---|
AndroidAar(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
AndroidManifest manifest,
AndroidResource androidResource,
SourcePath assembledResourceDirectory,
SourcePath assembledAssetsDirectory,
Optional<SourcePath> assembledNativeLibs,
Optional<SourcePath> assembledNativeLibsAssets,
com.google.common.collect.ImmutableSortedSet<SourcePath> classpathsToIncludeInJar) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
com.google.common.collect.ImmutableSet<SourcePath> |
getImmediateClasspaths()
Returns the classpaths for only this rule, not its deps.
|
com.google.common.collect.ImmutableSet<SourcePath> |
getOutputClasspaths() |
SourcePath |
getSourcePathToOutput() |
com.google.common.collect.ImmutableSet<JavaLibrary> |
getTransitiveClasspathDeps() |
com.google.common.collect.ImmutableSet<SourcePath> |
getTransitiveClasspaths() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
public static final String AAR_FORMAT
public AndroidAar(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, AndroidManifest manifest, AndroidResource androidResource, SourcePath assembledResourceDirectory, SourcePath assembledAssetsDirectory, Optional<SourcePath> assembledNativeLibs, Optional<SourcePath> assembledNativeLibsAssets, com.google.common.collect.ImmutableSortedSet<SourcePath> classpathsToIncludeInJar)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps
in interface BuildRule
public SourcePath getSourcePathToOutput()
getSourcePathToOutput
in interface BuildRule
public com.google.common.collect.ImmutableSet<SourcePath> getTransitiveClasspaths()
getTransitiveClasspaths
in interface HasClasspathEntries
javac
's -classpath
flag
in order to build a jar associated with this rule.public com.google.common.collect.ImmutableSet<JavaLibrary> getTransitiveClasspathDeps()
getTransitiveClasspathDeps
in interface HasClasspathEntries
public com.google.common.collect.ImmutableSet<SourcePath> getImmediateClasspaths()
HasClasspathEntries
Used to generate the value of HasClasspathEntries.getTransitiveClasspaths()
.
getImmediateClasspaths
in interface HasClasspathEntries
public com.google.common.collect.ImmutableSet<SourcePath> getOutputClasspaths()
getOutputClasspaths
in interface HasClasspathEntries
javac
's
-classpath
flag in order to compile rules that depend on this rule. This is a
superset of getImmediateClasspaths
which also contains the classpath entries of any
exported deps.