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

go_library(
    name = "go_default_library",
    srcs = ["benchmark.go"],
    importpath = "google.golang.org/grpc/benchmark",
    visibility = ["//visibility:public"],
    deps = [
        "//:go_default_library",
        "//benchmark/grpc_testing:go_default_library",
        "//benchmark/latency:go_default_library",
        "//benchmark/stats:go_default_library",
        "//grpclog:go_default_library",
        "@org_golang_x_net//context:go_default_library",
    ],
)

go_test(
    name = "go_default_test",
    srcs = [
        "benchmark16_test.go",
        "benchmark17_test.go",
    ],
    embed = [":go_default_library"],
    deps = [
        "//:go_default_library",
        "//benchmark/stats:go_default_library",
    ],
)
