Class AndroidBinaryDescriptionArg

    • Method Detail

      • getKeystore

        public BuildTarget getKeystore()
        Returns:
        The value of the keystore attribute
      • getUseSplitDex

        public boolean getUseSplitDex()
        Returns:
        The value of the useSplitDex attribute
      • getMinimizePrimaryDexSize

        public boolean getMinimizePrimaryDexSize()
        Returns:
        The value of the minimizePrimaryDexSize attribute
      • getDexCompression

        public Optional<com.facebook.buck.android.DexStore> getDexCompression()
        Returns:
        The value of the dexCompression attribute
      • getPrimaryDexPatterns

        public com.google.common.collect.ImmutableList<String> getPrimaryDexPatterns()
        Returns:
        The value of the primaryDexPatterns attribute
      • getPrimaryDexClassesFile

        public Optional<SourcePath> getPrimaryDexClassesFile()
        Returns:
        The value of the primaryDexClassesFile attribute
      • getPrimaryDexScenarioFile

        public Optional<SourcePath> getPrimaryDexScenarioFile()
        Returns:
        The value of the primaryDexScenarioFile attribute
      • isPrimaryDexScenarioOverflowAllowed

        public boolean isPrimaryDexScenarioOverflowAllowed()
        Returns:
        The value of the primaryDexScenarioOverflowAllowed attribute
      • getSecondaryDexHeadClassesFile

        public Optional<SourcePath> getSecondaryDexHeadClassesFile()
        Returns:
        The value of the secondaryDexHeadClassesFile attribute
      • getSecondaryDexTailClassesFile

        public Optional<SourcePath> getSecondaryDexTailClassesFile()
        Returns:
        The value of the secondaryDexTailClassesFile attribute
      • getAndroidAppModularityResult

        public Optional<SourcePath> getAndroidAppModularityResult()
        Returns:
        The value of the androidAppModularityResult attribute
      • getLinearAllocHardLimit

        public long getLinearAllocHardLimit()
        Returns:
        The value of the linearAllocHardLimit attribute
      • getDexGroupLibLimit

        public int getDexGroupLibLimit()
        Returns:
        The value of the dexGroupLibLimit attribute
      • getResourceFilter

        public com.google.common.collect.ImmutableList<String> getResourceFilter()
        Returns:
        The value of the resourceFilter attribute
      • getPreprocessJavaClassesDeps

        public com.google.common.collect.ImmutableSortedSet<BuildTarget> getPreprocessJavaClassesDeps()
        Returns:
        The value of the preprocessJavaClassesDeps attribute
      • getXzCompressionLevel

        public int getXzCompressionLevel()
        Returns:
        The value of the xzCompressionLevel attribute
      • isPackageAssetLibraries

        public boolean isPackageAssetLibraries()
        Returns:
        The value of the packageAssetLibraries attribute
      • isCompressAssetLibraries

        public boolean isCompressAssetLibraries()
        Returns:
        The value of the compressAssetLibraries attribute
      • getAssetCompressionAlgorithm

        public Optional<CompressionAlgorithm> getAssetCompressionAlgorithm()
        Returns:
        The value of the assetCompressionAlgorithm attribute
      • getRedex

        public boolean getRedex()
        Returns:
        The value of the redex attribute
      • getRedexConfig

        public Optional<SourcePath> getRedexConfig()
        Returns:
        The value of the redexConfig attribute
      • getRedexExtraArgs

        public com.google.common.collect.ImmutableList<StringWithMacros> getRedexExtraArgs()
        Returns:
        The value of the redexExtraArgs attribute
      • getDeps

        public com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
        Specified by:
        getDeps in interface HasDeclaredDeps
        Returns:
        The value of the deps attribute
      • getLicenses

        public com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
        Returns:
        The value of the licenses attribute
      • getLabels

        public com.google.common.collect.ImmutableSortedSet<String> getLabels()
        Returns:
        The value of the labels attribute
      • getDefaultTargetPlatform

        public Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
        The name of build target default "new" platform: it is used when a platform is not specified either globally or in a target which used this target as a dependency.

        The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.

      • getCompatibleWith

        public com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
        A list of config_setting a target is compatible with.
      • getName

        public String getName()
        Each rule has a name
      • isExopackage

        public Optional<Boolean> isExopackage()
        Returns:
        The value of the exopackage attribute
      • getExopackageModes

        public com.google.common.collect.ImmutableSet<ExopackageMode> getExopackageModes()
        Returns:
        The value of the exopackageModes attribute
      • getTests

        public com.google.common.collect.ImmutableSortedSet<BuildTarget> getTests()
        Returns:
        A list of tests of this target.
      • getManifest

        public Optional<SourcePath> getManifest()
        Returns:
        The value of the manifest attribute
      • getManifestSkeleton

        public Optional<SourcePath> getManifestSkeleton()
        Returns:
        The value of the manifestSkeleton attribute
      • getModuleManifestSkeleton

        public Optional<SourcePath> getModuleManifestSkeleton()
        Returns:
        The value of the moduleManifestSkeleton attribute
      • getPackageType

        public Optional<String> getPackageType()
        Returns:
        The value of the packageType attribute
      • getNoDx

        public com.google.common.collect.ImmutableSet<BuildTarget> getNoDx()
        Returns:
        The value of the noDx attribute
      • getDisablePreDex

        public boolean getDisablePreDex()
        Returns:
        The value of the disablePreDex attribute
      • getAndroidSdkProguardConfig

        public Optional<com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType> getAndroidSdkProguardConfig()
        Returns:
        The value of the androidSdkProguardConfig attribute
      • getOptimizationPasses

        public int getOptimizationPasses()
        Returns:
        The value of the optimizationPasses attribute
      • getProguardJvmArgs

        public com.google.common.collect.ImmutableList<String> getProguardJvmArgs()
        Returns:
        The value of the proguardJvmArgs attribute
      • getProguardConfig

        public Optional<SourcePath> getProguardConfig()
        Returns:
        The value of the proguardConfig attribute
      • getResourceCompression

        public com.facebook.buck.android.ResourcesFilter.ResourceCompressionMode getResourceCompression()
        Returns:
        The value of the resourceCompression attribute
      • isSkipCrunchPngs

        public Optional<Boolean> isSkipCrunchPngs()
        Returns:
        The value of the skipCrunchPngs attribute
      • isIncludesVectorDrawables

        public boolean isIncludesVectorDrawables()
        Returns:
        The value of the includesVectorDrawables attribute
      • isNoAutoVersionResources

        public boolean isNoAutoVersionResources()
        Returns:
        The value of the noAutoVersionResources attribute
      • isNoVersionTransitionsResources

        public boolean isNoVersionTransitionsResources()
        Returns:
        The value of the noVersionTransitionsResources attribute
      • isNoAutoAddOverlayResources

        public boolean isNoAutoAddOverlayResources()
        Returns:
        The value of the noAutoAddOverlayResources attribute
      • getApplicationModuleTargets

        public com.google.common.collect.ImmutableSet<BuildTarget> getApplicationModuleTargets()
        Returns:
        The value of the applicationModuleTargets attribute
      • getApplicationModuleConfigs

        public com.google.common.collect.ImmutableMap<String,​com.google.common.collect.ImmutableList<BuildTarget>> getApplicationModuleConfigs()
        Returns:
        The value of the applicationModuleConfigs attribute
      • getApplicationModulesWithResources

        public com.google.common.collect.ImmutableSet<String> getApplicationModulesWithResources()
        Returns:
        The value of the applicationModulesWithResources attribute
      • getApplicationModulesWithManifest

        public com.google.common.collect.ImmutableSet<String> getApplicationModulesWithManifest()
        Returns:
        The value of the applicationModulesWithManifest attribute
      • getApplicationModuleDependencies

        public Optional<com.google.common.collect.ImmutableMap<String,​com.google.common.collect.ImmutableList<String>>> getApplicationModuleDependencies()
        Returns:
        The value of the applicationModuleDependencies attribute
      • getIsCacheable

        public boolean getIsCacheable()
        Returns:
        The value of the isCacheable attribute
      • getAdditionalAaptParams

        public com.google.common.collect.ImmutableList<String> getAdditionalAaptParams()
        Returns:
        The value of the additionalAaptParams attribute
      • getAaptMode

        public com.facebook.buck.android.AaptMode getAaptMode()
        Returns:
        The value of the aaptMode attribute
      • isTrimResourceIds

        public boolean isTrimResourceIds()
        Returns:
        The value of the trimResourceIds attribute
      • isAllowRDotJavaInSecondaryDex

        public boolean isAllowRDotJavaInSecondaryDex()
        Returns:
        The value of the allowRDotJavaInSecondaryDex attribute
      • getKeepResourcePattern

        public Optional<String> getKeepResourcePattern()
        Returns:
        The value of the keepResourcePattern attribute
      • getResourceUnionPackage

        public Optional<String> getResourceUnionPackage()
        Returns:
        The value of the resourceUnionPackage attribute
      • getLocales

        public com.google.common.collect.ImmutableSet<String> getLocales()
        Returns:
        The value of the locales attribute
      • isAapt2LocaleFiltering

        public boolean isAapt2LocaleFiltering()
        Whether to filter locales using aapt2.
      • getLocalizedStringFileName

        public Optional<String> getLocalizedStringFileName()
        Returns:
        The value of the localizedStringFileName attribute
      • isBuildStringSourceMap

        public boolean isBuildStringSourceMap()
        Returns:
        The value of the buildStringSourceMap attribute
      • isIgnoreAaptProguardConfig

        public boolean isIgnoreAaptProguardConfig()
        Returns:
        The value of the ignoreAaptProguardConfig attribute
      • getCpuFilters

        public com.google.common.collect.ImmutableSet<TargetCpuType> getCpuFilters()
        Returns:
        The value of the cpuFilters attribute
      • getPreprocessJavaClassesBash

        public Optional<StringWithMacros> getPreprocessJavaClassesBash()
        Returns:
        The value of the preprocessJavaClassesBash attribute
      • isReorderClassesIntraDex

        public boolean isReorderClassesIntraDex()
        Returns:
        The value of the reorderClassesIntraDex attribute
      • getDexTool

        public String getDexTool()
        Returns:
        The value of the dexTool attribute
      • getDexReorderToolFile

        public Optional<SourcePath> getDexReorderToolFile()
        Returns:
        The value of the dexReorderToolFile attribute
      • getDexReorderDataDumpFile

        public Optional<SourcePath> getDexReorderDataDumpFile()
        Returns:
        The value of the dexReorderDataDumpFile attribute
      • getNativeLibraryMergeMap

        public com.google.common.collect.ImmutableMap<String,​List<Pattern>> getNativeLibraryMergeMap()
        Returns:
        The value of the nativeLibraryMergeMap attribute
      • getNativeLibraryMergeGlue

        public Optional<BuildTarget> getNativeLibraryMergeGlue()
        Returns:
        The value of the nativeLibraryMergeGlue attribute
      • getNativeLibraryMergeCodeGenerator

        public Optional<BuildTarget> getNativeLibraryMergeCodeGenerator()
        Returns:
        The value of the nativeLibraryMergeCodeGenerator attribute
      • getNativeLibraryMergeLocalizedSymbols

        public Optional<com.google.common.collect.ImmutableSortedSet<String>> getNativeLibraryMergeLocalizedSymbols()
        Returns:
        The value of the nativeLibraryMergeLocalizedSymbols attribute
      • getNativeLibraryProguardConfigGenerator

        public Optional<BuildTarget> getNativeLibraryProguardConfigGenerator()
        Returns:
        The value of the nativeLibraryProguardConfigGenerator attribute
      • isEnableRelinker

        public boolean isEnableRelinker()
        Returns:
        The value of the enableRelinker attribute
      • getRelinkerWhitelist

        public com.google.common.collect.ImmutableList<Pattern> getRelinkerWhitelist()
        Returns:
        The value of the relinkerWhitelist attribute
      • getManifestEntries

        public ManifestEntries getManifestEntries()
        Returns:
        The value of the manifestEntries attribute
      • getBuildConfigValues

        public BuildConfigFields getBuildConfigValues()
        Returns:
        The value of the buildConfigValues attribute
      • getPostFilterResourcesCmd

        public Optional<StringWithMacros> getPostFilterResourcesCmd()
        Returns:
        The value of the postFilterResourcesCmd attribute
      • getBuildConfigValuesFile

        public Optional<SourcePath> getBuildConfigValuesFile()
        Returns:
        The value of the buildConfigValuesFile attribute
      • isSkipProguard

        public boolean isSkipProguard()
        Returns:
        The value of the skipProguard attribute
      • getUseDynamicFeature

        public boolean getUseDynamicFeature()
        Returns:
        The value of the useDynamicFeature attribute
      • getExtraFilteredResources

        public com.google.common.collect.ImmutableSet<String> getExtraFilteredResources()
        Returns:
        The value of the extraFilteredResources attribute
      • getAllowedDuplicateResourceTypes

        public com.google.common.collect.ImmutableSet<RDotTxtEntry.RType> getAllowedDuplicateResourceTypes()
        Returns:
        The value of the allowedDuplicateResourceTypes attribute
      • getBannedDuplicateResourceTypes

        public com.google.common.collect.ImmutableSet<RDotTxtEntry.RType> getBannedDuplicateResourceTypes()
        Returns:
        The value of the bannedDuplicateResourceTypes attribute
      • getDuplicateResourceWhitelist

        public Optional<SourcePath> getDuplicateResourceWhitelist()
        Returns:
        The value of the duplicateResourceWhitelist attribute
      • getEffectiveBannedDuplicateResourceTypes

        public EnumSet<RDotTxtEntry.RType> getEffectiveBannedDuplicateResourceTypes()
        Returns:
        The computed-at-construction value of the effectiveBannedDuplicateResourceTypes attribute
      • getApplicationModuleBlacklist

        public Optional<List<Query>> getApplicationModuleBlacklist()
        Returns:
        The value of the applicationModuleBlacklist attribute
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of AndroidBinaryDescriptionArg that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: keystore, useSplitDex, minimizePrimaryDexSize, dexCompression, primaryDexPatterns, primaryDexClassesFile, primaryDexScenarioFile, primaryDexScenarioOverflowAllowed, secondaryDexHeadClassesFile, secondaryDexTailClassesFile, androidAppModularityResult, linearAllocHardLimit, dexGroupLibLimit, resourceFilter, preprocessJavaClassesDeps, xzCompressionLevel, packageAssetLibraries, compressAssetLibraries, assetCompressionAlgorithm, redex, redexConfig, redexExtraArgs, deps, licenses, labels, defaultTargetPlatform, compatibleWith, name, exopackage, exopackageModes, tests, manifest, manifestSkeleton, moduleManifestSkeleton, packageType, noDx, disablePreDex, androidSdkProguardConfig, optimizationPasses, proguardJvmArgs, proguardConfig, resourceCompression, skipCrunchPngs, includesVectorDrawables, noAutoVersionResources, noVersionTransitionsResources, noAutoAddOverlayResources, applicationModuleTargets, applicationModuleConfigs, applicationModulesWithResources, applicationModulesWithManifest, applicationModuleDependencies, isCacheable, additionalAaptParams, aaptMode, trimResourceIds, allowRDotJavaInSecondaryDex, keepResourcePattern, resourceUnionPackage, locales, aapt2LocaleFiltering, localizedStringFileName, buildStringSourceMap, ignoreAaptProguardConfig, cpuFilters, preprocessJavaClassesBash, reorderClassesIntraDex, dexTool, dexReorderToolFile, dexReorderDataDumpFile, nativeLibraryMergeMap, nativeLibraryMergeGlue, nativeLibraryMergeCodeGenerator, nativeLibraryMergeLocalizedSymbols, nativeLibraryProguardConfigGenerator, enableRelinker, relinkerWhitelist, manifestEntries, buildConfigValues, postFilterResourcesCmd, buildConfigValuesFile, skipProguard, useDynamicFeature, extraFilteredResources, duplicateResourceBehavior, allowedDuplicateResourceTypes, bannedDuplicateResourceTypes, duplicateResourceWhitelist, effectiveBannedDuplicateResourceTypes, applicationModuleBlacklist.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value AndroidBinaryDescriptionArg with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value