Modifier and Type | Field and Description |
---|---|
static String |
IGNORE_ASSETS_PATTERN |
workingDirectory
Constructor and Description |
---|
AaptStep(SourcePathResolverAdapter pathResolver,
AndroidPlatformTarget androidPlatformTarget,
AbsPath workingDirectory,
Path androidManifest,
com.google.common.collect.ImmutableList<Path> resDirectories,
com.google.common.collect.ImmutableSortedSet<Path> assetsDirectories,
Path pathToOutputApkFile,
Path pathToRDotTxtDir,
Path pathToGeneratedProguardConfig,
com.google.common.collect.ImmutableList<Path> pathToDependecyResourceApks,
boolean isCrunchPngFiles,
boolean includesVectorDrawables,
ManifestEntries manifestEntries,
com.google.common.collect.ImmutableList<String> additionalAaptParams) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.ImmutableList<String> |
getShellCommandInternal(ExecutionContext context)
Implementations of this method should not have any observable side-effects.
|
String |
getShortName() |
static boolean |
isSilentlyIgnored(Path path)
Determines whether the default AAPT ignore pattern in
DEFAULT_IGNORE_ASSETS_PATTERN would silently ignore a file. |
addOptions, execute, getDescription, getDuration, getEnvironmentVariables, getExitCodeFromResult, getShellCommand, getShellCommandArgsForDescription, getStderr, getStdin, getStdout, getTimeout, getTimeoutHandler, shouldPrintStderr, shouldPrintStdout
public static final String IGNORE_ASSETS_PATTERN
public AaptStep(SourcePathResolverAdapter pathResolver, AndroidPlatformTarget androidPlatformTarget, AbsPath workingDirectory, Path androidManifest, com.google.common.collect.ImmutableList<Path> resDirectories, com.google.common.collect.ImmutableSortedSet<Path> assetsDirectories, Path pathToOutputApkFile, Path pathToRDotTxtDir, Path pathToGeneratedProguardConfig, com.google.common.collect.ImmutableList<Path> pathToDependecyResourceApks, boolean isCrunchPngFiles, boolean includesVectorDrawables, ManifestEntries manifestEntries, com.google.common.collect.ImmutableList<String> additionalAaptParams)
public static boolean isSilentlyIgnored(Path path)
DEFAULT_IGNORE_ASSETS_PATTERN
would silently ignore a file.path
- The path of the file we are interested in.protected com.google.common.collect.ImmutableList<String> getShellCommandInternal(ExecutionContext context)
ShellStep
getShellCommandInternal
in class ShellStep
public String getShortName()