Skip to content

Commit 70e31da

Browse files
fmeumcopybara-github
authored andcommitted
Rename cc_test_wrapper to cc_test
Previously, `str(native.cc_test)` included `cc_test_wrapper`, which is an implementation detail of `cc_test`. Closes #18871. PiperOrigin-RevId: 546836622 Change-Id: I80e02a2be80ab01610c5848ab1cd506df11c9557
1 parent a1cd9bf commit 70e31da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/starlark/builtins_bzl/common/cc/cc_test_wrapper.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ load(":common/cc/cc_test_with_linkstatic.bzl", _cc_test_with_linkstatic = "cc_te
2020
load(":common/cc/cc_test_no_linkstatic_aspects.bzl", _cc_test_no_linkstatic_aspects = "cc_test")
2121
load(":common/cc/cc_test_with_linkstatic_aspects.bzl", _cc_test_with_linkstatic_aspects = "cc_test")
2222

23-
def cc_test_wrapper(**kwargs):
23+
def cc_test(**kwargs):
2424
"""Entry point for cc_test rules.
2525
2626
This avoids propagating aspects on certain attributes if dynamic_deps attribute is unset.

src/main/starlark/builtins_bzl/common/exports.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
load("@_builtins//:common/cc/cc_import.bzl", "cc_import")
1818
load("@_builtins//:common/cc/cc_binary_wrapper.bzl", "cc_binary")
1919
load("@_builtins//:common/cc/cc_toolchain_provider_helper.bzl", "get_cc_toolchain_provider")
20-
load("@_builtins//:common/cc/cc_test_wrapper.bzl", cc_test = "cc_test_wrapper")
20+
load("@_builtins//:common/cc/cc_test_wrapper.bzl", "cc_test")
2121
load("@_builtins//:common/cc/cc_shared_library.bzl", "CcSharedLibraryInfo", "cc_shared_library")
2222
load("@_builtins//:common/cc/cc_shared_library_hint_info.bzl", "CcSharedLibraryHintInfo")
2323
load("@_builtins//:common/objc/objc_import.bzl", "objc_import")

0 commit comments

Comments
 (0)