Package com.facebook.buck.shell
Interface AbstractGenruleDescription.CommonArg
-
- All Superinterfaces:
BuildRuleArg
,ConstructorArg
,DataTransferObject
,HasTests
- All Known Implementing Classes:
ApkGenruleDescriptionArg
,CxxGenruleDescriptionArg
,GenruleDescriptionArg
,JarGenruleDescriptionArg
,JsBundleGenruleDescriptionArg
- Enclosing class:
- AbstractGenruleDescription<T extends AbstractGenruleDescription.CommonArg>
public static interface AbstractGenruleDescription.CommonArg extends BuildRuleArg, HasTests
-
-
Field Summary
-
Fields inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
DEFAULT_TARGET_PLATFORM_PARAM_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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).-
Methods inherited from interface com.facebook.buck.core.description.arg.BuildRuleArg
getCompatibleWith, getDefaultTargetPlatform, getLabels, getLicenses, labelsContainsAnyOf
-
Methods inherited from interface com.facebook.buck.core.description.arg.ConstructorArg
getName
-
-
-
-
Method Detail
-
getBash
Optional<StringWithMacros> getBash()
-
getCmd
Optional<StringWithMacros> getCmd()
-
getCmdExe
Optional<StringWithMacros> getCmdExe()
-
getSrcs
@Default default SourceSet getSrcs()
-
getRemote
Optional<Boolean> getRemote()
If present and true, requests that Buck run this genrule remotely if possible. Defaults to false for now.
-
getCacheable
Optional<Boolean> getCacheable()
This functionality only exists to get around the lack of extensibility in our current build rule / build file apis. It may go away at some point. Also, make sure that you understand whatBuildRule.isCacheable()
does with respect to caching if you decide to use this attribute
-
isNeedAndroidTools
@Default default boolean isNeedAndroidTools()
This argument allows genrule to specify if it needs android tools (like dex, aapt, ndk, sdk).
-
-