public class AndroidPlatformDescription extends Object implements ConfigurationRuleDescription<AndroidPlatformArg,AndroidMultiPlatformRule>
android_platform
.
For example:
android_platform( name = "platform", base_platform = "//config/platform:android", native_platforms = [ "//config/platform:cpu-x86_64", "//config/platform:cpu-armv7", ] )
Constructor and Description |
---|
AndroidPlatformDescription() |
Modifier and Type | Method and Description |
---|---|
AndroidMultiPlatformRule |
createConfigurationRule(ConfigurationRuleResolver configurationRuleResolver,
BuildTarget buildTarget,
DependencyStack dependencyStack,
AndroidPlatformArg arg)
Creates a
ConfigurationRule |
com.google.common.collect.ImmutableSet<BuildTarget> |
getConfigurationDeps(AndroidPlatformArg arg) |
Class<AndroidPlatformArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
Class<AndroidMultiPlatformRule> |
getRuleClass()
Reified type parameter
|
public Class<AndroidPlatformArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<AndroidPlatformArg>
public Class<AndroidMultiPlatformRule> getRuleClass()
ConfigurationRuleDescription
getRuleClass
in interface ConfigurationRuleDescription<AndroidPlatformArg,AndroidMultiPlatformRule>
public AndroidMultiPlatformRule createConfigurationRule(ConfigurationRuleResolver configurationRuleResolver, BuildTarget buildTarget, DependencyStack dependencyStack, AndroidPlatformArg arg)
ConfigurationRuleDescription
ConfigurationRule
createConfigurationRule
in interface ConfigurationRuleDescription<AndroidPlatformArg,AndroidMultiPlatformRule>
public com.google.common.collect.ImmutableSet<BuildTarget> getConfigurationDeps(AndroidPlatformArg arg)
getConfigurationDeps
in interface BaseDescription<AndroidPlatformArg>