Skip to content

Commit 2f94fa9

Browse files
comiuscopybara-github
authored andcommitted
Automated rollback of commit 23513bd.
*** Reason for rollback *** Apparently it is used: https://buildkite.com/bazel/google-rules-cc-presubmit/builds/1068#01988463-682d-4242-812f-3679cd9304d6 *** Original change description *** Remove get_native_library_info_provider It was unused. PiperOrigin-RevId: 792118898 Change-Id: I265c98323b2fa5c417088343bda8e0f466924b35
1 parent f034685 commit 2f94fa9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,10 @@ def _implementation_deps_allowed_by_allowlist(*, ctx):
824824
cc_common_internal.check_private_api(allowlist = _PRIVATE_STARLARKIFICATION_ALLOWLIST)
825825
return cc_common_internal.implementation_deps_allowed_by_allowlist(ctx = ctx)
826826

827+
def _get_cc_native_library_info_provider():
828+
cc_common_internal.check_private_api(allowlist = _PRIVATE_STARLARKIFICATION_ALLOWLIST)
829+
return CcNativeLibraryInfo
830+
827831
def _get_artifact_name_for_category(*, cc_toolchain, category, output_name):
828832
cc_common_internal.check_private_api(allowlist = _PRIVATE_STARLARKIFICATION_ALLOWLIST)
829833
return _builtins.internal.cc_internal.get_artifact_name_for_category(
@@ -905,6 +909,7 @@ cc_common = struct(
905909
implementation_deps_allowed_by_allowlist = _implementation_deps_allowed_by_allowlist,
906910
CcSharedLibraryHintInfo = CcSharedLibraryHintInfo,
907911
build_extra_link_time_libraries = build_libraries,
912+
get_cc_native_library_info_provider = _get_cc_native_library_info_provider,
908913
get_artifact_name_for_category = _get_artifact_name_for_category,
909914
absolute_symlink = _absolute_symlink,
910915
objc_expand_and_tokenize = _objc_expand_and_tokenize,

0 commit comments

Comments
 (0)