public class CxxToolchainDescription extends Object implements DescriptionWithTargetGraph<CxxToolchainDescriptionArg>
CxxPlatform to be configured as a build
target.| Constructor and Description |
|---|
CxxToolchainDescription() |
| Modifier and Type | Method and Description |
|---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
CxxToolchainDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams. |
Class<CxxToolchainDescriptionArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
boolean |
producesCacheableSubgraph()
Whether or not the build rule subgraph produced by this
Description is safe to cache in
IncrementalActionGraphGenerator
for incremental action graph generation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationDepspublic BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, CxxToolchainDescriptionArg args)
DescriptionWithTargetGraphBuildRule for the given BuildRuleParams. Note that the BuildTarget referred to in the params contains the Flavor to create.createBuildRule in interface DescriptionWithTargetGraph<CxxToolchainDescriptionArg>args - A constructor argument, of type as returned by BaseDescription.getConstructorArgType().BuildRule that describes the default flavour of the rule being described.public boolean producesCacheableSubgraph()
DescriptionWithTargetGraphDescription is safe to cache in
IncrementalActionGraphGenerator
for incremental action graph generation.producesCacheableSubgraph in interface Description<CxxToolchainDescriptionArg>producesCacheableSubgraph in interface DescriptionWithTargetGraph<CxxToolchainDescriptionArg>public Class<CxxToolchainDescriptionArg> getConstructorArgType()
BaseDescriptiongetConstructorArgType in interface BaseDescription<CxxToolchainDescriptionArg>