12345678910111213141516171819202122232425262728293031 |
- load("@io_bazel_rules_go//go:def.bzl", "go_library")
- load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
- proto_library(
- name = "grpc_testing_proto",
- srcs = [
- "control.proto",
- "messages.proto",
- "payloads.proto",
- "services.proto",
- "stats.proto",
- ],
- visibility = ["//visibility:public"],
- deps = ["//:grpc_proto"],
- )
- go_proto_library(
- name = "grpc_testing_go_proto",
- compilers = ["@io_bazel_rules_go//proto:go_grpc"],
- importpath = "google.golang.org/grpc/benchmark/grpc_testing",
- proto = ":grpc_testing_proto",
- visibility = ["//visibility:public"],
- deps = ["//:go_default_library"],
- )
- go_library(
- name = "go_default_library",
- embed = [":grpc_testing_go_proto"],
- importpath = "google.golang.org/grpc/benchmark/grpc_testing",
- visibility = ["//visibility:public"],
- )
|