public class LegacyRuleAnalysisProviderCompatibleTargetNodeToBuildRuleTransformer extends LegacyRuleAnalysisDelegatingTargetNodeToBuildRuleTransformer
TargetNodeToBuildRuleTransformer that delegates to the RuleAnalysisGraph when
descriptions of the new type RuleDescription is encountered. A backwards compatible
RuleAnalysisLegacyBuildRuleView is returned for that target.
For any legacy rules, the Providers from LegacyProviderCompatibleDescription.createProviders(ProviderCreationContext,
BuildTarget, BuildRuleArg) will be supplied to the DescriptionWithTargetGraph.createBuildRule(BuildRuleCreationContextWithTargetGraph,
BuildTarget, BuildRuleParams, BuildRuleArg)
delegate, ruleAnalysisComputation| Constructor and Description |
|---|
LegacyRuleAnalysisProviderCompatibleTargetNodeToBuildRuleTransformer(RuleAnalysisGraph ruleAnalysisComputation,
TargetNodeToBuildRuleTransformer delegate) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BuildRuleArg> |
transform(ToolchainProvider toolchainProvider,
TargetGraph targetGraph,
ConfigurationRuleRegistry configurationRuleRegistry,
ActionGraphBuilder graphBuilder,
TargetNode<T> targetNode,
CellPathResolver cellPathResolver)
Transform target node to build rule.
|
transformpublic LegacyRuleAnalysisProviderCompatibleTargetNodeToBuildRuleTransformer(RuleAnalysisGraph ruleAnalysisComputation, TargetNodeToBuildRuleTransformer delegate)
public <T extends BuildRuleArg> BuildRule transform(ToolchainProvider toolchainProvider, TargetGraph targetGraph, ConfigurationRuleRegistry configurationRuleRegistry, ActionGraphBuilder graphBuilder, TargetNode<T> targetNode, CellPathResolver cellPathResolver)
TargetNodeToBuildRuleTransformer