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

go_library(
    name = "go_default_library",
    srcs = ["proto.go"],
    importpath = "google.golang.org/grpc/encoding/proto",
    visibility = ["//visibility:public"],
    deps = [
        "//encoding:go_default_library",
        "@com_github_golang_protobuf//proto:go_default_library",
    ],
)

go_test(
    name = "go_default_test",
    srcs = [
        "proto_benchmark_test.go",
        "proto_test.go",
    ],
    embed = [":go_default_library"],
    deps = [
        "//encoding:go_default_library",
        "//test/codec_perf:go_default_library",
        "@com_github_golang_protobuf//proto:go_default_library",
    ],
)
