BUILD.bazel.in 873 B

12345678910111213141516171819202122232425262728293031
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
  3. proto_library(
  4. name = "grpc_testing_proto",
  5. srcs = [
  6. "control.proto",
  7. "messages.proto",
  8. "payloads.proto",
  9. "services.proto",
  10. "stats.proto",
  11. ],
  12. visibility = ["//visibility:public"],
  13. deps = ["//:grpc_proto"],
  14. )
  15. go_proto_library(
  16. name = "grpc_testing_go_proto",
  17. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  18. importpath = "google.golang.org/grpc/benchmark/grpc_testing",
  19. proto = ":grpc_testing_proto",
  20. visibility = ["//visibility:public"],
  21. deps = ["//:go_default_library"],
  22. )
  23. go_library(
  24. name = "go_default_library",
  25. embed = [":grpc_testing_go_proto"],
  26. importpath = "google.golang.org/grpc/benchmark/grpc_testing",
  27. visibility = ["//visibility:public"],
  28. )