diff --git a/apple/ios.bzl b/apple/ios.bzl index d5b1e6b0e5..37e967ded2 100644 --- a/apple/ios.bzl +++ b/apple/ios.bzl @@ -53,7 +53,7 @@ ios_sticker_pack_extension = _ios_sticker_pack_extension ios_imessage_extension = _ios_imessage_extension ios_static_framework = _ios_static_framework -_DEFAULT_TEST_RUNNER = "@build_bazel_rules_apple//apple/testing/default_runner:ios_default_runner" +_DEFAULT_TEST_RUNNER = str(Label("//apple/testing/default_runner:ios_default_runner")) def ios_unit_test(name, **kwargs): runner = kwargs.pop("runner", None) or _DEFAULT_TEST_RUNNER diff --git a/apple/macos.bzl b/apple/macos.bzl index 832c16db11..cbdecff12b 100644 --- a/apple/macos.bzl +++ b/apple/macos.bzl @@ -242,7 +242,7 @@ def macos_dynamic_framework(name, **kwargs): **bundling_args ) -_DEFAULT_TEST_RUNNER = "@build_bazel_rules_apple//apple/testing/default_runner:macos_default_runner" +_DEFAULT_TEST_RUNNER = str(Label("//apple/testing/default_runner:macos_default_runner")) def macos_unit_test(name, **kwargs): runner = kwargs.pop("runner", _DEFAULT_TEST_RUNNER) diff --git a/apple/tvos.bzl b/apple/tvos.bzl index e9739e44f1..112e53b68f 100644 --- a/apple/tvos.bzl +++ b/apple/tvos.bzl @@ -45,7 +45,7 @@ tvos_extension = _tvos_extension tvos_framework = _tvos_framework tvos_static_framework = _tvos_static_framework -_DEFAULT_TEST_RUNNER = "@build_bazel_rules_apple//apple/testing/default_runner:tvos_default_runner" +_DEFAULT_TEST_RUNNER = str(Label("//apple/testing/default_runner:tvos_default_runner")) def tvos_unit_test(name, **kwargs): runner = kwargs.pop("runner", _DEFAULT_TEST_RUNNER) diff --git a/apple/visionos.bzl b/apple/visionos.bzl index 7c5d202269..afcc279f05 100644 --- a/apple/visionos.bzl +++ b/apple/visionos.bzl @@ -44,7 +44,7 @@ visionos_dynamic_framework = _visionos_dynamic_framework visionos_framework = _visionos_framework visionos_static_framework = _visionos_static_framework -_DEFAULT_TEST_RUNNER = "@build_bazel_rules_apple//apple/testing/default_runner:visionos_default_runner" +_DEFAULT_TEST_RUNNER = str(Label("//apple/testing/default_runner:visionos_default_runner")) def visionos_unit_test(name, **kwargs): runner = kwargs.pop("runner", _DEFAULT_TEST_RUNNER) diff --git a/apple/watchos.bzl b/apple/watchos.bzl index ccf841230f..80061c7537 100644 --- a/apple/watchos.bzl +++ b/apple/watchos.bzl @@ -45,7 +45,7 @@ watchos_framework = _watchos_framework watchos_extension = _watchos_extension watchos_static_framework = _watchos_static_framework -_DEFAULT_TEST_RUNNER = "@build_bazel_rules_apple//apple/testing/default_runner:watchos_default_runner" +_DEFAULT_TEST_RUNNER = str(Label("//apple/testing/default_runner:watchos_default_runner")) def watchos_unit_test(name, **kwargs): runner = kwargs.pop("runner", _DEFAULT_TEST_RUNNER)