BUILD.bazel.in 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["roundrobin.go"],
  5. importpath = "google.golang.org/grpc/balancer/roundrobin",
  6. visibility = ["//visibility:public"],
  7. deps = [
  8. "//balancer:go_default_library",
  9. "//balancer/base:go_default_library",
  10. "//grpclog:go_default_library",
  11. "//resolver:go_default_library",
  12. "@org_golang_x_net//context:go_default_library",
  13. ],
  14. )
  15. go_test(
  16. name = "go_default_test",
  17. srcs = ["roundrobin_test.go"],
  18. embed = [":go_default_library"],
  19. deps = [
  20. "//:go_default_library",
  21. "//codes:go_default_library",
  22. "//grpclog/glogger:go_default_library",
  23. "//internal/leakcheck:go_default_library",
  24. "//peer:go_default_library",
  25. "//resolver:go_default_library",
  26. "//resolver/manual:go_default_library",
  27. "//status:go_default_library",
  28. "//test/grpc_testing:go_default_library",
  29. "@org_golang_x_net//context:go_default_library",
  30. ],
  31. )