Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_OPTIMIZATION_PASSES |
workingDirectory
Modifier and Type | Method and Description |
---|---|
static void |
create(AndroidPlatformTarget androidPlatformTarget,
com.google.common.collect.ImmutableList<String> javaRuntimeLauncher,
ProjectFilesystem filesystem,
Optional<Path> proguardJarOverride,
String proguardMaxHeapSize,
Optional<String> proguardAgentPath,
Set<Path> customProguardConfigs,
com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType sdkProguardConfig,
int optimizationPasses,
Optional<List<String>> proguardJvmArgs,
Map<Path,Path> inputAndOutputEntries,
com.google.common.collect.ImmutableSet<Path> additionalLibraryJarsForProguard,
Path proguardDirectory,
BuildableContext buildableContext,
BuildContext buildContext,
boolean skipProguard,
com.google.common.collect.ImmutableList.Builder<Step> steps)
Create steps that write out ProGuard's command line arguments to a text file and then run
ProGuard using those arguments.
|
boolean |
equals(Object obj) |
StepExecutionResult |
execute(ExecutionContext context) |
protected com.google.common.collect.ImmutableList<String> |
getShellCommandInternal(ExecutionContext context)
Implementations of this method should not have any observable side-effects.
|
String |
getShortName() |
int |
hashCode() |
addOptions, getDescription, getDuration, getEnvironmentVariables, getExitCodeFromResult, getShellCommand, getShellCommandArgsForDescription, getStderr, getStdin, getStdout, getTimeout, getTimeoutHandler, shouldPrintStderr, shouldPrintStdout
public static final int DEFAULT_OPTIMIZATION_PASSES
public static void create(AndroidPlatformTarget androidPlatformTarget, com.google.common.collect.ImmutableList<String> javaRuntimeLauncher, ProjectFilesystem filesystem, Optional<Path> proguardJarOverride, String proguardMaxHeapSize, Optional<String> proguardAgentPath, Set<Path> customProguardConfigs, com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType sdkProguardConfig, int optimizationPasses, Optional<List<String>> proguardJvmArgs, Map<Path,Path> inputAndOutputEntries, com.google.common.collect.ImmutableSet<Path> additionalLibraryJarsForProguard, Path proguardDirectory, BuildableContext buildableContext, BuildContext buildContext, boolean skipProguard, com.google.common.collect.ImmutableList.Builder<Step> steps)
steps
- Where to append the generated steps.public String getShortName()
protected com.google.common.collect.ImmutableList<String> getShellCommandInternal(ExecutionContext context)
ShellStep
getShellCommandInternal
in class ShellStep
public StepExecutionResult execute(ExecutionContext context) throws IOException, InterruptedException
execute
in interface Step
execute
in class ShellStep
IOException
InterruptedException