public abstract class CxxToolProvider<T> extends Object
Preprocessor
and Compiler
C/C++ drivers.Modifier and Type | Class and Description |
---|---|
static class |
CxxToolProvider.Type |
Constructor and Description |
---|
CxxToolProvider(ToolProvider toolProvider,
CxxToolProvider.Type type,
ToolType toolType)
Build using a
ToolProvider and a required type. |
CxxToolProvider(ToolProvider toolProvider,
CxxToolProvider.Type type,
ToolType toolType,
boolean useUnixFileSeparator)
Build using a
ToolProvider and a required type. |
CxxToolProvider(ToolProvider toolProvider,
java.util.function.Supplier<CxxToolProvider.Type> type,
ToolType toolType,
boolean useUnixFileSeparator) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
build(CxxToolProvider.Type type,
Tool tool) |
Iterable<BuildTarget> |
getParseTimeDeps(TargetConfiguration targetConfiguration) |
ToolType |
getToolType()
Return tool type of this provider instance
|
boolean |
getUseUnixPathSeparator() |
T |
resolve(BuildRuleResolver resolver,
TargetConfiguration targetConfiguration) |
public CxxToolProvider(ToolProvider toolProvider, java.util.function.Supplier<CxxToolProvider.Type> type, ToolType toolType, boolean useUnixFileSeparator)
public CxxToolProvider(ToolProvider toolProvider, CxxToolProvider.Type type, ToolType toolType, boolean useUnixFileSeparator)
ToolProvider
and a required type. It also allows to specify to use Unix
path separators for the NDK compiler.public CxxToolProvider(ToolProvider toolProvider, CxxToolProvider.Type type, ToolType toolType)
ToolProvider
and a required type.protected abstract T build(CxxToolProvider.Type type, Tool tool)
public T resolve(BuildRuleResolver resolver, TargetConfiguration targetConfiguration)
public Iterable<BuildTarget> getParseTimeDeps(TargetConfiguration targetConfiguration)
public ToolType getToolType()
public boolean getUseUnixPathSeparator()