BUILD.bazel.in 801 B

1234567891011121314151617181920212223242526272829
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["benchmark.go"],
  5. importpath = "google.golang.org/grpc/benchmark",
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. "//:go_default_library",
  9. "//benchmark/grpc_testing:go_default_library",
  10. "//benchmark/latency:go_default_library",
  11. "//benchmark/stats:go_default_library",
  12. "//grpclog:go_default_library",
  13. "@org_golang_x_net//context:go_default_library",
  14. ],
  15. )
  16. go_test(
  17. name = "go_default_test",
  18. srcs = [
  19. "benchmark16_test.go",
  20. "benchmark17_test.go",
  21. ],
  22. embed = [":go_default_library"],
  23. deps = [
  24. "//:go_default_library",
  25. "//benchmark/stats:go_default_library",
  26. ],
  27. )