BUILD.bazel.in 1.0 KB

123456789101112131415161718192021222324252627282930
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["service.go"],
  5. importpath = "google.golang.org/grpc/channelz/service",
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. "//:go_default_library",
  9. "//channelz/grpc_channelz_v1:go_default_library",
  10. "//connectivity:go_default_library",
  11. "//internal/channelz:go_default_library",
  12. "@com_github_golang_protobuf//ptypes:go_default_library",
  13. "@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
  14. "@org_golang_x_net//context:go_default_library",
  15. ],
  16. )
  17. go_test(
  18. name = "go_default_test",
  19. srcs = ["service_test.go"],
  20. embed = [":go_default_library"],
  21. deps = [
  22. "//channelz/grpc_channelz_v1:go_default_library",
  23. "//connectivity:go_default_library",
  24. "//internal/channelz:go_default_library",
  25. "@com_github_golang_protobuf//ptypes:go_default_library",
  26. "@org_golang_x_net//context:go_default_library",
  27. ],
  28. )