mirror of https://github.com/grpc/grpc-java.git
bazel: Add compatibility for --incompatible_load_cc_rules_from_bzl
This commit is contained in:
parent
372945fde5
commit
9f0f2a3c85
|
|
@ -1,3 +1,4 @@
|
|||
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
||||
load("//:java_grpc_library.bzl", "java_rpc_toolchain")
|
||||
|
||||
# This should not generally be referenced. Users should use java_grpc_library
|
||||
|
|
@ -8,10 +9,10 @@ cc_binary(
|
|||
"src/java_plugin/cpp/java_generator.h",
|
||||
"src/java_plugin/cpp/java_plugin.cpp",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_google_protobuf//:protoc_lib",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
java_library(
|
||||
|
|
|
|||
Loading…
Reference in New Issue