From 1df8c81f72e231bc1c622b1bf3574e4fd7172afd Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 23 Feb 2024 17:52:44 -0800 Subject: [PATCH] Test platforms transition everywhere --- apple/internal/rule_factory.bzl | 5 ++--- apple/internal/testing/build_test_rules.bzl | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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, )