public class AndroidLibrary extends DefaultJavaLibrary implements AndroidPackageable
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidLibrary.Builder |
JavaLibrary.DataGWT_MODULE_FLAVOR, MAVEN_JAR, SRC_JAR| Modifier and Type | Method and Description |
|---|---|
void |
addToCollector(AndroidPackageableCollector collector)
Add concrete resources to the given collector.
|
static AndroidLibrary.Builder |
builder(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
ToolchainProvider toolchainProvider,
BuildRuleParams params,
ActionGraphBuilder graphBuilder,
JavaBuckConfig javaBuckConfig,
JavacFactory javacFactory,
JavacOptions javacOptions,
AndroidLibraryDescription.CoreArg args,
ConfiguredCompilerFactory compilerFactory) |
Optional<SourcePath> |
getManifestFile() |
String |
getType() |
getAbiInfo, getAbiJar, getBuildOutputInitializer, getClassHashesProvider, getClassNamesToHashes, getCompileTimeClasspathSourcePaths, getCoveredByDepFilePredicate, getDepsForTransitiveClasspathEntries, getExistenceOfInterestPredicate, getExportedDeps, getExportedProvidedDeps, getGeneratedAnnotationSourcePath, getImmediateClasspaths, getInputsAfterBuildingLocally, getJavaSrcs, getMavenCoords, getOutputClasspaths, getPipelineStateFactory, getPreviousRuleInPipeline, getRequiredForSourceOnlyAbi, getRequiredPackageables, getResources, getResourcesRoot, getRuntimeDeps, getSourceOnlyAbiJar, getSourcePathToOutput, getSources, getTests, getTransitiveClasspathDeps, getTransitiveClasspaths, hasAnnotationProcessing, initializeFromDisk, invalidateInitializeFromDiskState, isDesugarEnabled, isInterfaceMethodsDesugarEnabled, neverMarkAsUnusedDependency, rulesBuilder, setJavaClassHashesProvider, useDependencyFileRuleKeys, 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, waitgetRequiredPackageablesisMavenCoordsPresentcompareTo, getBuildDeps, getBuildSteps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsisSupportedisSupportedpublic static AndroidLibrary.Builder builder(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, ToolchainProvider toolchainProvider, BuildRuleParams params, ActionGraphBuilder graphBuilder, JavaBuckConfig javaBuckConfig, JavacFactory javacFactory, JavacOptions javacOptions, AndroidLibraryDescription.CoreArg args, ConfiguredCompilerFactory compilerFactory)
public Optional<SourcePath> getManifestFile()
public String getType()
getType in interface HasNameAndTypegetType in class AbstractBuildRulepublic 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 DefaultJavaLibrarycollector - The AndroidPackageableCollector that will receive the content.