public static interface AbstractGenruleDescription.CommonArg extends BuildRuleArg, HasTests
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
Optional<StringWithMacros> |
getBash() |
Optional<Boolean> |
getCacheable()
This functionality only exists to get around the lack of extensibility in our current build
rule / build file apis.
|
Optional<StringWithMacros> |
getCmd() |
Optional<StringWithMacros> |
getCmdExe() |
Optional<Boolean> |
getEnableSandbox() |
Optional<String> |
getEnvironmentExpansionSeparator() |
Optional<Boolean> |
getRemote()
If present and true, requests that Buck run this genrule remotely if possible.
|
default SourceSet |
getSrcs() |
Optional<String> |
getType() |
default boolean |
isNeedAndroidTools()
This argument allows genrule to specify if it needs android tools (like dex, aapt, ndk, sdk).
|
getCompatibleWith, getDefaultTargetPlatform, getLabels, getLicenses, labelsContainsAnyOf
getName
Optional<StringWithMacros> getBash()
Optional<StringWithMacros> getCmd()
Optional<StringWithMacros> getCmdExe()
@Value.Default default SourceSet getSrcs()
Optional<Boolean> getRemote()
Optional<Boolean> getCacheable()
BuildRule.isCacheable()
does with respect to caching if you decide to use this
attribute@Value.Default default boolean isNeedAndroidTools()