BUILD.bazel.in 908 B

12345678910111213141516171819202122232425262728293031
  1. load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "benchmark_client.go",
  6. "benchmark_server.go",
  7. "main.go",
  8. "util.go",
  9. ],
  10. importpath = "google.golang.org/grpc/benchmark/worker",
  11. visibility = ["//visibility:private"],
  12. deps = [
  13. "//:go_default_library",
  14. "//benchmark:go_default_library",
  15. "//benchmark/grpc_testing:go_default_library",
  16. "//benchmark/stats:go_default_library",
  17. "//codes:go_default_library",
  18. "//credentials:go_default_library",
  19. "//grpclog:go_default_library",
  20. "//status:go_default_library",
  21. "//testdata:go_default_library",
  22. "@org_golang_x_net//context:go_default_library",
  23. ],
  24. )
  25. go_binary(
  26. name = "worker",
  27. embed = [":go_default_library"],
  28. visibility = ["//visibility:public"],
  29. )