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.
 
 
 
 
 
 

32 lines
658 B

load("@rules_cc//cc:defs.bzl", "cc_binary")
load("@rules_proto//proto:defs.bzl", "proto_library")
load(
"//bazel:pgv_proto_library.bzl",
"pgv_cc_proto_library",
)
# gazelle:go_generate_proto false
proto_library(
name = "test_proto",
srcs = ["test.proto"],
visibility = ["//visibility:public"],
deps = [
"@com_google_protobuf//:any_proto",
],
)
pgv_cc_proto_library(
name = "test_cc_proto",
visibility = ["//visibility:public"],
deps = [":test_proto"],
)
cc_binary(
name = "cc-mfjt-test",
srcs = ["main.cc"],
visibility = ["//visibility:public"],
deps = [
":test_cc_proto",
],
)