BUILD.bazel.in 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "alts.go",
  6. "utils.go",
  7. ],
  8. importpath = "google.golang.org/grpc/credentials/alts",
  9. visibility = ["//visibility:public"],
  10. deps = [
  11. "//credentials:go_default_library",
  12. "//credentials/alts/core:go_default_library",
  13. "//credentials/alts/core/handshaker:go_default_library",
  14. "//credentials/alts/core/handshaker/service:go_default_library",
  15. "//credentials/alts/core/proto/grpc_gcp:go_default_library",
  16. "//grpclog:go_default_library",
  17. "//peer:go_default_library",
  18. "@org_golang_x_net//context:go_default_library",
  19. ],
  20. )
  21. go_test(
  22. name = "go_default_test",
  23. srcs = [
  24. "alts_test.go",
  25. "utils_test.go",
  26. ],
  27. embed = [":go_default_library"],
  28. deps = [
  29. "//credentials/alts/core/proto/grpc_gcp:go_default_library",
  30. "//peer:go_default_library",
  31. "@com_github_golang_protobuf//proto:go_default_library",
  32. "@org_golang_x_net//context:go_default_library",
  33. ],
  34. )