public class PrebuiltCxxLibraryGroupDescription extends Object implements DescriptionWithTargetGraph<PrebuiltCxxLibraryGroupDescriptionArg>, VersionPropagator<PrebuiltCxxLibraryGroupDescriptionArg>
Modifier and Type | Class and Description |
---|---|
static class |
PrebuiltCxxLibraryGroupDescription.CustomPrebuiltCxxLibrary
An action graph representation of a custom prebuilt C/C++ library from the target graph,
providing the various interfaces to make it consumable by C/C++ preprocessing and native
linkable rules.
|
Constructor and Description |
---|
PrebuiltCxxLibraryGroupDescription() |
Modifier and Type | Method and Description |
---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
PrebuiltCxxLibraryGroupDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams . |
Class<PrebuiltCxxLibraryGroupDescriptionArg> |
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, wait
getConfigurationDeps
public Class<PrebuiltCxxLibraryGroupDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<PrebuiltCxxLibraryGroupDescriptionArg>
public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, PrebuiltCxxLibraryGroupDescriptionArg args)
DescriptionWithTargetGraph
BuildRule
for the given BuildRuleParams
. Note that the BuildTarget
referred to in the params
contains the Flavor
to create.createBuildRule
in interface DescriptionWithTargetGraph<PrebuiltCxxLibraryGroupDescriptionArg>
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()
DescriptionWithTargetGraph
Description
is safe to cache in
IncrementalActionGraphGenerator
for incremental action graph generation.producesCacheableSubgraph
in interface Description<PrebuiltCxxLibraryGroupDescriptionArg>
producesCacheableSubgraph
in interface DescriptionWithTargetGraph<PrebuiltCxxLibraryGroupDescriptionArg>