BUILD.bazel.in 662 B

123456789101112131415161718192021222324
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "credentials.go",
  6. "credentials_util_go17.go",
  7. "credentials_util_go18.go",
  8. "credentials_util_pre_go17.go",
  9. ],
  10. importpath = "google.golang.org/grpc/credentials",
  11. visibility = ["//visibility:public"],
  12. deps = ["@org_golang_x_net//context:go_default_library"],
  13. )
  14. go_test(
  15. name = "go_default_test",
  16. srcs = ["credentials_test.go"],
  17. embed = [":go_default_library"],
  18. deps = [
  19. "//testdata:go_default_library",
  20. "@org_golang_x_net//context:go_default_library",
  21. ],
  22. )