public interface Preprocessor extends Tool
| Modifier and Type | Method and Description |
|---|---|
Iterable<String> |
localIncludeArgs(Iterable<String> includeRoots) |
Iterable<String> |
precompiledHeaderArgs(Path pchOutputPath) |
Iterable<String> |
prefixHeaderArgs(Path prefixHeader) |
default Iterable<String> |
prefixOrPCHArgs(boolean precompiled,
Path path) |
boolean |
supportsHeaderMaps() |
boolean |
supportsPrecompiledHeaders() |
Iterable<String> |
systemIncludeArgs(Iterable<String> includeRoots) |
getCommandPrefix, getEnvironmentboolean supportsHeaderMaps()
boolean supportsPrecompiledHeaders()
default Iterable<String> prefixOrPCHArgs(boolean precompiled, Path path)
prefixHeader - the prefix_hedaer param for the rule.pchOutputPath - either a precompiled_header path, or the result of precompiling
prefixHeader. Not mutually exclusive with prefixHeader; if both are given,
the precompiled version of it is preferred.