BUILD.bazel.in 743 B

1234567891011121314151617181920212223242526
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "handlers.go",
  6. "stats.go",
  7. ],
  8. importpath = "google.golang.org/grpc/stats",
  9. visibility = ["//visibility:public"],
  10. deps = ["@org_golang_x_net//context:go_default_library"],
  11. )
  12. go_test(
  13. name = "go_default_test",
  14. srcs = ["stats_test.go"],
  15. embed = [":go_default_library"],
  16. deps = [
  17. "//:go_default_library",
  18. "//metadata:go_default_library",
  19. "//stats/grpc_testing:go_default_library",
  20. "//status:go_default_library",
  21. "@com_github_golang_protobuf//proto:go_default_library",
  22. "@org_golang_x_net//context:go_default_library",
  23. ],
  24. )