Fix genproto.bzl test broken by unknown commit
Removed load() for defs.bzl from genproto.bzl. I can add this back at a later
CL. This will require adding more copybara rules to rules_cc.
RELNOTES:none
@@ -16,8 +16,6 @@ limitations under the License.
This is a quick and dirty rule to make Bazel compile itself. Do not use.
"""
-load("@rules_cc//cc:defs.bzl", "cc_library")
-
proto_filetype = [".proto"]
def cc_grpc_library(name, src):
@@ -47,7 +45,7 @@ def cc_grpc_library(name, src):
outs = [basename + ".grpc.pb.h", basename + ".grpc.pb.cc", basename + ".pb.cc", basename + ".pb.h"],
)
- cc_library(
+ native.cc_library(
name = name,
srcs = [basename + ".grpc.pb.cc", basename + ".pb.cc"],
hdrs = [basename + ".grpc.pb.h", basename + ".pb.h"],
