grpc 第三方依赖 就是grpc的 third_party 文件夹
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1006 B

2 years ago
load("@com_envoyproxy_protoc_gen_validate//bazel:pgv_proto_library.bzl", "pgv_cc_proto_library")
load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
package(
default_visibility = ["//visibility:public"],
)
proto_library(
name = "bar_proto",
srcs = ["bar.proto"],
deps = ["@com_envoyproxy_protoc_gen_validate//validate:validate_proto"],
)
pgv_cc_proto_library(
name = "bar_cc_proto",
deps = [":bar_proto"],
)
proto_library(
name = "baz_proto",
srcs = ["subdir_without_package/baz.proto"],
deps = ["@com_envoyproxy_protoc_gen_validate//validate:validate_proto"],
)
pgv_cc_proto_library(
name = "baz_cc_proto",
deps = [":baz_proto"],
)
cc_test(
name = "baz_cc_test",
srcs = ["baz_cc_test.cc"],
deps = [":baz_cc_proto"],
)
py_proto_library(
name = "bar_py_proto",
srcs = ["bar.proto"],
deps = [
"@com_envoyproxy_protoc_gen_validate//validate:validate_py",
"@com_google_protobuf//:protobuf_python",
],
)