12345678910111213141516171819202122232425262728293031 |
- load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
- go_library(
- name = "go_default_library",
- srcs = [
- "benchmark_client.go",
- "benchmark_server.go",
- "main.go",
- "util.go",
- ],
- importpath = "google.golang.org/grpc/benchmark/worker",
- visibility = ["//visibility:private"],
- deps = [
- "//:go_default_library",
- "//benchmark:go_default_library",
- "//benchmark/grpc_testing:go_default_library",
- "//benchmark/stats:go_default_library",
- "//codes:go_default_library",
- "//credentials:go_default_library",
- "//grpclog:go_default_library",
- "//status:go_default_library",
- "//testdata:go_default_library",
- "@org_golang_x_net//context:go_default_library",
- ],
- )
- go_binary(
- name = "worker",
- embed = [":go_default_library"],
- visibility = ["//visibility:public"],
- )
|