diff --git a/apple/internal/rule_factory.bzl b/apple/internal/rule_factory.bzl index 0f404667fd..70bfee3eec 100644 --- a/apple/internal/rule_factory.bzl +++ b/apple/internal/rule_factory.bzl @@ -98,7 +98,7 @@ of the target will be used instead. def _create_apple_rule( *, - cfg = transition_support.apple_rule_transition, + cfg = transition_support.apple_platforms_rule_base_transition, doc, implementation, is_executable = False, @@ -109,8 +109,7 @@ def _create_apple_rule( Args: cfg: The rule transition to be applied directly on the generated rule. Optional. This will - be the Starlark Apple rule transition `transition_support.apple_rule_transition` by - default. + be the Starlark Apple rule transition by default. doc: The documentation string for the rule itself. implementation: The method to handle the implementation of the given rule. Optional. True by default. diff --git a/apple/internal/testing/build_test_rules.bzl b/apple/internal/testing/build_test_rules.bzl index 9c7bf48980..287316ba1b 100644 --- a/apple/internal/testing/build_test_rules.bzl +++ b/apple/internal/testing/build_test_rules.bzl @@ -122,5 +122,5 @@ number (for example, `"9.0"`). doc = doc, implementation = _apple_build_test_rule_impl, test = True, - cfg = transition_support.apple_rule_transition, + cfg = transition_support.apple_platforms_rule_base_transition, )