Auto-generate files after cl/721951543
[google-protobuf.git] / bazel / cc_proto_library.bzl
blobe1d4ad41444b64503a72f2a5d0bbecad2f9c4bd6
1 """cc_proto_library rule"""
3 load("//bazel/private:bazel_cc_proto_library.bzl", _cc_proto_library = "cc_proto_library")  # buildifier: disable=bzl-visibility
5 def cc_proto_library(**kwattrs):
6     # Only use Starlark rules when they are removed from Bazel
7     if not hasattr(native, "cc_proto_library"):
8         _cc_proto_library(**kwattrs)
9     else:
10         native.cc_proto_library(**kwattrs)  # buildifier: disable=native-cc-proto