public class AndroidPrebuiltAar extends AndroidLibrary implements HasAndroidResourceDeps, HasRuntimeDeps
AndroidLibrary.BuilderJavaLibrary.DataGWT_MODULE_FLAVOR, MAVEN_JAR, SRC_JAR| Constructor and Description |
|---|
AndroidPrebuiltAar(BuildTarget androidLibraryBuildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams androidLibraryParams,
SourcePathRuleFinder ruleFinder,
SourcePath proguardConfig,
SourcePath nativeLibsDirectory,
PrebuiltJar prebuiltJar,
UnzipAar unzipAar,
CompileToJarStepFactory configuredCompiler,
Iterable<PrebuiltJar> exportedDeps,
boolean requiredForSourceAbi,
Optional<String> mavenCoords,
boolean useSystemLibraryLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCollector(AndroidPackageableCollector collector)
Add concrete resources to the given collector.
|
SourcePath |
getAssets() |
SourcePath |
getBinaryJar() |
SourcePath |
getPathToRDotJavaPackageFile() |
SourcePath |
getPathToTextSymbolsFile() |
PrebuiltJar |
getPrebuiltJar() |
String |
getRDotJavaPackage() |
SourcePath |
getRes() |
java.util.stream.Stream<BuildTarget> |
getRuntimeDeps(BuildRuleResolver buildRuleResolver) |
boolean |
useDependencyFileRuleKeys() |
builder, getManifestFile, getTypegetAbiInfo, getAbiJar, getBuildOutputInitializer, getClassHashesProvider, getClassNamesToHashes, getCompileTimeClasspathSourcePaths, getCoveredByDepFilePredicate, getDepsForTransitiveClasspathEntries, getExistenceOfInterestPredicate, getExportedDeps, getExportedProvidedDeps, getGeneratedAnnotationSourcePath, getImmediateClasspaths, getInputsAfterBuildingLocally, getJavaSrcs, getMavenCoords, getOutputClasspaths, getPipelineStateFactory, getPreviousRuleInPipeline, getRequiredForSourceOnlyAbi, getRequiredPackageables, getResources, getResourcesRoot, getSourceOnlyAbiJar, getSourcePathToOutput, getSources, getTests, getTransitiveClasspathDeps, getTransitiveClasspaths, hasAnnotationProcessing, initializeFromDisk, invalidateInitializeFromDiskState, isDesugarEnabled, isInterfaceMethodsDesugarEnabled, neverMarkAsUnusedDependency, rulesBuilder, setJavaClassHashesProvider, useRulePipelininggetPipelinedBuildStepscompareTo, getBuildable, getBuildCellPathFactory, getBuildDeps, getBuildSteps, getOutputPathResolver, getSetupStepsForBuildable, getSourcePath, getSourcePaths, injectFieldsIfNecessary, inputBasedRuleKeyIsEnabled, recordOutputs, recordOutputs, recordOutputs, stepsForBuildable, stepsForBuildable, updateBuildRuleResolverequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, hasBuildSteps, hashCode, injectFields, isCacheable, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBuildTargetcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, getSourcePathToOutput, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypegetRequiredPackageablesisMavenCoordsPresentisSupportedisSupportedpublic AndroidPrebuiltAar(BuildTarget androidLibraryBuildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams androidLibraryParams, SourcePathRuleFinder ruleFinder, SourcePath proguardConfig, SourcePath nativeLibsDirectory, PrebuiltJar prebuiltJar, UnzipAar unzipAar, CompileToJarStepFactory configuredCompiler, Iterable<PrebuiltJar> exportedDeps, boolean requiredForSourceAbi, Optional<String> mavenCoords, boolean useSystemLibraryLoader)
public String getRDotJavaPackage()
getRDotJavaPackage in interface HasAndroidResourceDepspublic boolean useDependencyFileRuleKeys()
useDependencyFileRuleKeys in interface SupportsDependencyFileRuleKeyuseDependencyFileRuleKeys in class DefaultJavaLibrarypublic SourcePath getPathToTextSymbolsFile()
getPathToTextSymbolsFile in interface HasAndroidResourceDepspublic SourcePath getPathToRDotJavaPackageFile()
getPathToRDotJavaPackageFile in interface HasAndroidResourceDepspublic SourcePath getRes()
getRes in interface HasAndroidResourceDepspublic SourcePath getAssets()
getAssets in interface HasAndroidResourceDepspublic void addToCollector(AndroidPackageableCollector collector)
AndroidPackageableImplementations should call methods on the collector specify what concrete content must be included in an Android package that includes this object. For example, an android_library will add Java classes, an ndk_library will add native libraries, and android_resource will add resource directories.
addToCollector in interface AndroidPackageableaddToCollector in class AndroidLibrarycollector - The AndroidPackageableCollector that will receive the content.public PrebuiltJar getPrebuiltJar()
public SourcePath getBinaryJar()
public java.util.stream.Stream<BuildTarget> getRuntimeDeps(BuildRuleResolver buildRuleResolver)
getRuntimeDeps in interface HasRuntimeDepsgetRuntimeDeps in class DefaultJavaLibrary