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

go_library(
    name = "testgrpc",
    testonly = 1,
    srcs = ["testgrpc.go"],
    importpath = "github.com/buildbuddy-io/buildbuddy/server/testutil/testgrpc",
    visibility = ["//visibility:public"],
    deps = [
        "//server/util/grpc_client",
        "//server/util/status",
        "@com_github_mwitkow_grpc_proxy//proxy",
        "@com_github_stretchr_testify//require",
        "@org_golang_google_grpc//:grpc",
        "@org_golang_google_grpc//metadata",
    ],
)
