public abstract class LuaPlatform extends Object implements FlavorConvertible
Modifier and Type | Class and Description |
---|---|
protected static class |
LuaPlatform.PackageStyle |
Modifier and Type | Field and Description |
---|---|
static String |
FLAVOR_DOMAIN_NAME |
Constructor and Description |
---|
LuaPlatform() |
Modifier and Type | Method and Description |
---|---|
abstract CxxPlatform |
getCxxPlatform() |
abstract String |
getExtension() |
Flavor |
getFlavor() |
abstract ToolProvider |
getLua() |
AbstractCxxLibraryGroup |
getLuaCxxLibrary(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration) |
abstract Optional<BuildTarget> |
getLuaCxxLibraryTarget() |
abstract NativeLinkStrategy |
getNativeLinkStrategy() |
abstract Optional<BuildTarget> |
getNativeStarterLibrary() |
abstract ToolProvider |
getPackager() |
abstract LuaPlatform.PackageStyle |
getPackageStyle() |
abstract Optional<LuaBinaryDescription.StarterType> |
getStarterType() |
abstract boolean |
shouldCacheBinaries() |
LuaPlatform |
withExtension(String extension) |
LuaPlatform |
withLua(ToolProvider lua) |
LuaPlatform |
withNativeLinkStrategy(NativeLinkStrategy nativeLinkStrategy) |
LuaPlatform |
withPackageStyle(LuaPlatform.PackageStyle packageStyle) |
public static final String FLAVOR_DOMAIN_NAME
public Flavor getFlavor()
getFlavor
in interface FlavorConvertible
public abstract ToolProvider getLua()
public abstract Optional<BuildTarget> getNativeStarterLibrary()
public abstract Optional<BuildTarget> getLuaCxxLibraryTarget()
public abstract Optional<LuaBinaryDescription.StarterType> getStarterType()
public abstract String getExtension()
public abstract LuaPlatform.PackageStyle getPackageStyle()
LuaPlatform.PackageStyle
to use for Lua executables.public abstract ToolProvider getPackager()
ToolProvider
which packages standalone Lua executables.public abstract boolean shouldCacheBinaries()
public abstract NativeLinkStrategy getNativeLinkStrategy()
public abstract CxxPlatform getCxxPlatform()
public AbstractCxxLibraryGroup getLuaCxxLibrary(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
public LuaPlatform withLua(ToolProvider lua)
public LuaPlatform withPackageStyle(LuaPlatform.PackageStyle packageStyle)
public LuaPlatform withNativeLinkStrategy(NativeLinkStrategy nativeLinkStrategy)
public LuaPlatform withExtension(String extension)