BUILD.bazel.in 668 B

12345678910111213141516171819202122232425262728
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "dns_resolver.go",
  6. "go17.go",
  7. "go18.go",
  8. "naming.go",
  9. ],
  10. importpath = "google.golang.org/grpc/naming",
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//grpclog:go_default_library",
  14. "@org_golang_x_net//context:go_default_library",
  15. ],
  16. )
  17. go_test(
  18. name = "go_default_test",
  19. srcs = [
  20. "dns_resolver_test.go",
  21. "go17_test.go",
  22. "go18_test.go",
  23. ],
  24. embed = [":go_default_library"],
  25. deps = ["@org_golang_x_net//context:go_default_library"],
  26. )