public class PreDexSplitDexMerge extends PreDexMerge
This rule depends on 1 or more PreDexSplitDexGroup rules, which produce merged secondary dexes and copies of the predexed rules to be merged into the primary dex. This rule merges the primary dex, copies the merged secondary dexes from the PreDexSplitDexGroup(s), and merges the secondary dex metadata.
Constructor and Description |
---|
PreDexSplitDexMerge(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
AndroidPlatformTarget androidPlatformTarget,
String dexTool,
com.facebook.buck.android.DexSplitMode dexSplitMode,
APKModuleGraph apkModuleGraph,
com.google.common.collect.ImmutableCollection<PreDexSplitDexGroup> preDexDeps,
com.google.common.util.concurrent.ListeningExecutorService dxExecutorService,
int xzCompressionLevel,
Optional<String> dxMaxHeapSize) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
Path |
getDexDirectory() |
SourcePath |
getDexDirectorySourcePath() |
com.facebook.buck.android.DexFilesInfo |
getDexFilesInfo() |
Path |
getMetadataTxtPath() |
SourcePath |
getMetadataTxtSourcePath() |
getSourcePathToOutput, getSourcePathToPrimaryDex
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 PreDexSplitDexMerge(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, AndroidPlatformTarget androidPlatformTarget, String dexTool, com.facebook.buck.android.DexSplitMode dexSplitMode, APKModuleGraph apkModuleGraph, com.google.common.collect.ImmutableCollection<PreDexSplitDexGroup> preDexDeps, com.google.common.util.concurrent.ListeningExecutorService dxExecutorService, int xzCompressionLevel, Optional<String> dxMaxHeapSize)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public com.facebook.buck.android.DexFilesInfo getDexFilesInfo()
public Path getMetadataTxtPath()
public Path getDexDirectory()
public SourcePath getMetadataTxtSourcePath()
public SourcePath getDexDirectorySourcePath()