public interface TargetNodeToBuildRuleTransformer
Modifier and Type | Method and Description |
---|---|
default <T extends BuildRuleArg> |
transform(ToolchainProvider toolchainProvider,
TargetGraph targetGraph,
ConfigurationRuleRegistry configurationRuleRegistry,
ActionGraphBuilder graphBuilder,
TargetNode<T> targetNode,
CellPathResolver cellPathResolver)
Transform target node to build rule.
|
<T extends BuildRuleArg> |
transform(ToolchainProvider toolchainProvider,
TargetGraph targetGraph,
ConfigurationRuleRegistry configurationRuleRegistry,
ActionGraphBuilder graphBuilder,
TargetNode<T> targetNode,
ProviderInfoCollection providerInfoCollection,
CellPathResolver cellPathResolver)
Converts a given
TargetNode to a BuildRule as part of action graph
construction. |
default <T extends BuildRuleArg> BuildRule transform(ToolchainProvider toolchainProvider, TargetGraph targetGraph, ConfigurationRuleRegistry configurationRuleRegistry, ActionGraphBuilder graphBuilder, TargetNode<T> targetNode, CellPathResolver cellPathResolver)
<T extends BuildRuleArg> BuildRule transform(ToolchainProvider toolchainProvider, TargetGraph targetGraph, ConfigurationRuleRegistry configurationRuleRegistry, ActionGraphBuilder graphBuilder, TargetNode<T> targetNode, ProviderInfoCollection providerInfoCollection, CellPathResolver cellPathResolver)
TargetNode
to a BuildRule
as part of action graph
construction. The providers computed from LegacyProviderCompatibleDescription.createProviders(ProviderCreationContext,
BuildTarget, BuildRuleArg)
will be passed to this function to be used to construct the BuildRule