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

go_library(
    name = "go_default_library",
    srcs = ["server.go"],
    importpath = "google.golang.org/grpc/interop/alts/server",
    visibility = ["//visibility:private"],
    deps = [
        "//:go_default_library",
        "//credentials/alts:go_default_library",
        "//grpclog:go_default_library",
        "//interop:go_default_library",
        "//interop/grpc_testing:go_default_library",
    ],
)

go_binary(
    name = "server",
    embed = [":go_default_library"],
    visibility = ["//visibility:public"],
)
