Skip to content

Commit

Permalink
Rename cc_test_wrapper to cc_test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fmeum authored and copybara-github committed Jul 10, 2023
1 parent a1cd9bf commit 70e31da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ load(":common/cc/cc_test_with_linkstatic.bzl", _cc_test_with_linkstatic = "cc_te
load(":common/cc/cc_test_no_linkstatic_aspects.bzl", _cc_test_no_linkstatic_aspects = "cc_test")
load(":common/cc/cc_test_with_linkstatic_aspects.bzl", _cc_test_with_linkstatic_aspects = "cc_test")

def cc_test_wrapper(**kwargs):
def cc_test(**kwargs):
"""Entry point for cc_test rules.
This avoids propagating aspects on certain attributes if dynamic_deps attribute is unset.
Expand Down
2 changes: 1 addition & 1 deletion src/main/starlark/builtins_bzl/common/exports.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
load("@_builtins//:common/cc/cc_import.bzl", "cc_import")
load("@_builtins//:common/cc/cc_binary_wrapper.bzl", "cc_binary")
load("@_builtins//:common/cc/cc_toolchain_provider_helper.bzl", "get_cc_toolchain_provider")
load("@_builtins//:common/cc/cc_test_wrapper.bzl", cc_test = "cc_test_wrapper")
load("@_builtins//:common/cc/cc_test_wrapper.bzl", "cc_test")
load("@_builtins//:common/cc/cc_shared_library.bzl", "CcSharedLibraryInfo", "cc_shared_library")
load("@_builtins//:common/cc/cc_shared_library_hint_info.bzl", "CcSharedLibraryHintInfo")
load("@_builtins//:common/objc/objc_import.bzl", "objc_import")
Expand Down

0 comments on commit 70e31da

Please sign in to comment.