Modifier and Type | Class and Description |
---|---|
static class |
MergeAndroidResourcesStep.DuplicateResourceException |
Modifier and Type | Method and Description |
---|---|
static MergeAndroidResourcesStep |
createStepForDummyRDotJava(ProjectFilesystem filesystem,
SourcePathResolverAdapter pathResolver,
List<HasAndroidResourceDeps> androidResourceDeps,
Path outputDir,
boolean forceFinalResourceIds,
Optional<String> unionPackage,
Optional<String> rName,
boolean useOldStyleableFormat,
boolean skipNonUnionRDotJava) |
static MergeAndroidResourcesStep |
createStepForUberRDotJava(ProjectFilesystem filesystem,
SourcePathResolverAdapter pathResolver,
List<HasAndroidResourceDeps> androidResourceDeps,
com.google.common.collect.ImmutableList<Path> uberRDotTxt,
Path outputDir,
EnumSet<RDotTxtEntry.RType> bannedDuplicateResourceTypes,
Optional<Path> duplicateResourceWhitelistPath,
com.google.common.collect.ImmutableList<Path> overrideSymbolsPath,
Optional<String> unionPackage) |
StepExecutionResult |
execute(ExecutionContext context) |
EnumSet<RDotTxtEntry.RType> |
getBannedDuplicateResourceTypes() |
String |
getDescription(ExecutionContext context) |
protected Path |
getPathToRDotJava(String rDotJavaPackage) |
com.google.common.collect.ImmutableSortedSet<Path> |
getRDotJavaFiles() |
String |
getShortName() |
public static MergeAndroidResourcesStep createStepForDummyRDotJava(ProjectFilesystem filesystem, SourcePathResolverAdapter pathResolver, List<HasAndroidResourceDeps> androidResourceDeps, Path outputDir, boolean forceFinalResourceIds, Optional<String> unionPackage, Optional<String> rName, boolean useOldStyleableFormat, boolean skipNonUnionRDotJava)
public static MergeAndroidResourcesStep createStepForUberRDotJava(ProjectFilesystem filesystem, SourcePathResolverAdapter pathResolver, List<HasAndroidResourceDeps> androidResourceDeps, com.google.common.collect.ImmutableList<Path> uberRDotTxt, Path outputDir, EnumSet<RDotTxtEntry.RType> bannedDuplicateResourceTypes, Optional<Path> duplicateResourceWhitelistPath, com.google.common.collect.ImmutableList<Path> overrideSymbolsPath, Optional<String> unionPackage)
public com.google.common.collect.ImmutableSortedSet<Path> getRDotJavaFiles()
public StepExecutionResult execute(ExecutionContext context) throws IOException
execute
in interface Step
IOException
public String getShortName()
getShortName
in interface Step
public String getDescription(ExecutionContext context)
getDescription
in interface Step
public EnumSet<RDotTxtEntry.RType> getBannedDuplicateResourceTypes()