load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = ["roundrobin.go"],
    importpath = "google.golang.org/grpc/balancer/roundrobin",
    visibility = ["//visibility:public"],
    deps = [
        "//balancer:go_default_library",
        "//balancer/base:go_default_library",
        "//grpclog:go_default_library",
        "//resolver:go_default_library",
        "@org_golang_x_net//context:go_default_library",
    ],
)

go_test(
    name = "go_default_test",
    srcs = ["roundrobin_test.go"],
    embed = [":go_default_library"],
    deps = [
        "//:go_default_library",
        "//codes:go_default_library",
        "//grpclog/glogger:go_default_library",
        "//internal/leakcheck:go_default_library",
        "//peer:go_default_library",
        "//resolver:go_default_library",
        "//resolver/manual:go_default_library",
        "//status:go_default_library",
        "//test/grpc_testing:go_default_library",
        "@org_golang_x_net//context:go_default_library",
    ],
)
