"""cc_proto_library rule""" | |
load("//bazel/private:bazel_cc_proto_library.bzl", _cc_proto_library = "cc_proto_library") # buildifier: disable=bzl-visibility | |
def cc_proto_library(**kwattrs): | |
# Only use Starlark rules when they are removed from Bazel | |
if not hasattr(native, "cc_proto_library"): | |
_cc_proto_library(**kwattrs) | |
else: | |
native.cc_proto_library(**kwattrs) # buildifier: disable=native-cc-proto |