| Modifier and Type | Field and Description |
|---|---|
static String |
SECONDARY_DEX_ID |
| Constructor and Description |
|---|
SplitZipStep(ProjectFilesystem filesystem,
Set<Path> inputPathsToSplit,
Path secondaryJarMetaPath,
Path primaryJarPath,
Path secondaryJarDir,
String secondaryJarPattern,
Path addtionalDexStoreJarMetaPath,
Path additionalDexStoreJarDir,
Optional<Path> proguardFullConfigFile,
Optional<Path> proguardMappingFile,
boolean skipProguard,
com.facebook.buck.android.DexSplitMode dexSplitMode,
Optional<Path> primaryDexScenarioFile,
Optional<Path> primaryDexClassesFile,
Optional<Path> secondaryDexHeadClassesFile,
Optional<Path> secondaryDexTailClassesFile,
com.google.common.collect.ImmutableMultimap<APKModule,Path> apkModuleToJarPathMap,
com.google.common.collect.ImmutableSortedMap<APKModule,com.google.common.collect.ImmutableSortedSet<APKModule>> apkModuleMap,
APKModule rootAPKModule,
Path pathToReportDir) |
| Modifier and Type | Method and Description |
|---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
java.util.function.Supplier<com.google.common.collect.Multimap<Path,Path>> |
getOutputToInputsMapSupplier(Path secondaryOutputDir,
Path additionalOutputDir) |
String |
getShortName() |
public static final String SECONDARY_DEX_ID
public SplitZipStep(ProjectFilesystem filesystem, Set<Path> inputPathsToSplit, Path secondaryJarMetaPath, Path primaryJarPath, Path secondaryJarDir, String secondaryJarPattern, Path addtionalDexStoreJarMetaPath, Path additionalDexStoreJarDir, Optional<Path> proguardFullConfigFile, Optional<Path> proguardMappingFile, boolean skipProguard, com.facebook.buck.android.DexSplitMode dexSplitMode, Optional<Path> primaryDexScenarioFile, Optional<Path> primaryDexClassesFile, Optional<Path> secondaryDexHeadClassesFile, Optional<Path> secondaryDexTailClassesFile, com.google.common.collect.ImmutableMultimap<APKModule,Path> apkModuleToJarPathMap, com.google.common.collect.ImmutableSortedMap<APKModule,com.google.common.collect.ImmutableSortedSet<APKModule>> apkModuleMap, APKModule rootAPKModule, Path pathToReportDir)
inputPathsToSplit - Input paths that would otherwise have been passed to a single dx --dex
invocation.secondaryJarMetaPath - Output location for the metadata text file describing each
secondary jar artifact.primaryJarPath - Output path for the primary jar file.secondaryJarDir - Output location for secondary jar files. Note that this directory may be
empty if no secondary jar files are needed.secondaryJarPattern - Filename pattern for secondary jar files. Pattern contains one %d
argument representing the enumerated secondary zip count (starting at 1).proguardFullConfigFile - Path to the full generated ProGuard configuration, generated by
the -printconfiguration flag. This is part of the *output* of ProGuard.proguardMappingFile - Path to the mapping file generated by ProGuard's obfuscation.apkModuleMap - rootAPKModule - public StepExecutionResult execute(ExecutionContext context) throws IOException
execute in interface StepIOExceptionpublic String getShortName()
getShortName in interface Steppublic String getDescription(ExecutionContext context)
getDescription in interface Steppublic java.util.function.Supplier<com.google.common.collect.Multimap<Path,Path>> getOutputToInputsMapSupplier(Path secondaryOutputDir, Path additionalOutputDir)