public abstract class AndroidPlatformTarget extends Object implements Toolchain, AddsToRuleKey
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ANDROID_PLATFORM_TARGET |
static String |
DEFAULT_NAME |
Constructor and Description |
---|
AndroidPlatformTarget() |
Modifier and Type | Method and Description |
---|---|
void |
addParseTimeDeps(com.google.common.collect.ImmutableCollection.Builder<BuildTarget> builder,
TargetConfiguration targetConfiguration)
Process aapt2 tool's parse dependencies and adds them to the
builder |
abstract ToolProvider |
getAapt2ToolProvider() |
abstract java.util.function.Supplier<Tool> |
getAaptExecutable() |
abstract Path |
getAdbExecutable() |
abstract Path |
getAidlExecutable() |
abstract Path |
getAndroidFrameworkIdlFile() |
abstract Path |
getAndroidJar() |
abstract List<Path> |
getBootclasspathEntries() |
abstract Path |
getDxExecutable() |
String |
getName() |
abstract Path |
getOptimizedProguardConfig() |
abstract String |
getPlatformName()
This is likely something like
"Google Inc.:Google APIs:21" . |
abstract Path |
getProguardConfig() |
abstract Path |
getProguardJar() |
abstract Path |
getZipalignExecutable() |
static AndroidPlatformTarget |
of(String platformName,
Path androidJar,
List<Path> bootclasspathEntries,
java.util.function.Supplier<Tool> aaptExecutable,
ToolProvider aapt2ToolProvider,
Path adbExecutable,
Path aidlExecutable,
Path zipalignExecutable,
Path dxExecutable,
Path androidFrameworkIdlFile,
Path proguardJar,
Path proguardConfig,
Path optimizedProguardConfig) |
String |
toString() |
public static final String DEFAULT_NAME
public static final String DEFAULT_ANDROID_PLATFORM_TARGET
public abstract String getPlatformName()
"Google Inc.:Google APIs:21"
.public abstract Path getAndroidJar()
public abstract List<Path> getBootclasspathEntries()
Path
spublic abstract java.util.function.Supplier<Tool> getAaptExecutable()
public abstract ToolProvider getAapt2ToolProvider()
public abstract Path getAdbExecutable()
public abstract Path getAidlExecutable()
public abstract Path getZipalignExecutable()
public abstract Path getDxExecutable()
public abstract Path getAndroidFrameworkIdlFile()
public abstract Path getProguardJar()
public abstract Path getProguardConfig()
public abstract Path getOptimizedProguardConfig()
@Value.Derived public void addParseTimeDeps(com.google.common.collect.ImmutableCollection.Builder<BuildTarget> builder, TargetConfiguration targetConfiguration)
builder
public static AndroidPlatformTarget of(String platformName, Path androidJar, List<Path> bootclasspathEntries, java.util.function.Supplier<Tool> aaptExecutable, ToolProvider aapt2ToolProvider, Path adbExecutable, Path aidlExecutable, Path zipalignExecutable, Path dxExecutable, Path androidFrameworkIdlFile, Path proguardJar, Path proguardConfig, Path optimizedProguardConfig)