Fix the load broken by a new version of buildifier.

BEGIN_PUBLIC
Fix the load broken by a new version of buildifier.

Apparently the native-cc lint has been split into native-cc and native-cc-proto. This meant that our native.cc_proto_library was getting incorrectly turned into cc_proto_library when copybara invoked buildifier.
END_PUBLIC

PiperOrigin-RevId: 622097522
Change-Id: Idb89a5f9facae20f490ac8f83a5adf2859cd52ab
This commit is contained in:
Googler 2024-04-05 00:58:22 -07:00 committed by Copybara-Service
parent 1361256a68
commit 54677903cf
1 changed files with 2 additions and 4 deletions

View File

@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
"""Starlark rules for building C++ projects."""
load("//cc/private/rules_impl:cc_flags_supplier.bzl", _cc_flags_supplier = "cc_flags_supplier")
@ -105,8 +103,8 @@ def cc_proto_library(**attrs):
**attrs: Rule attributes
"""
# buildifier: disable=native-cc
cc_proto_library(**_add_tags(attrs))
# buildifier: disable=native-cc-proto
native.cc_proto_library(**_add_tags(attrs))
def fdo_prefetch_hints(**attrs):
"""Bazel fdo_prefetch_hints rule.