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

go_library(
    name = "go_default_library",
    srcs = ["handshaker.go"],
    importpath = "google.golang.org/grpc/credentials/alts/core/handshaker",
    visibility = ["//visibility:public"],
    deps = [
        "//:go_default_library",
        "//codes:go_default_library",
        "//credentials:go_default_library",
        "//credentials/alts/core:go_default_library",
        "//credentials/alts/core/authinfo:go_default_library",
        "//credentials/alts/core/conn:go_default_library",
        "//credentials/alts/core/proto/grpc_gcp:go_default_library",
        "@org_golang_x_net//context:go_default_library",
    ],
)

go_test(
    name = "go_default_test",
    srcs = ["handshaker_test.go"],
    embed = [":go_default_library"],
    deps = [
        "//:go_default_library",
        "//credentials/alts/core:go_default_library",
        "//credentials/alts/core/proto/grpc_gcp:go_default_library",
        "//credentials/alts/core/testutil:go_default_library",
        "@org_golang_x_net//context:go_default_library",
    ],
)
