BUILD.bazel 945 B

12345678910111213141516171819202122232425262728293031323334
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "creds.go",
  6. "pool.go",
  7. "settings.go",
  8. ],
  9. importmap = "k8s.io/test-infra/vendor/google.golang.org/api/internal",
  10. importpath = "google.golang.org/api/internal",
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//vendor/golang.org/x/oauth2:go_default_library",
  14. "//vendor/golang.org/x/oauth2/google:go_default_library",
  15. "@org_golang_google_grpc//:go_default_library",
  16. "@org_golang_google_grpc//naming:go_default_library",
  17. "@org_golang_x_net//context:go_default_library",
  18. ],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [":package-srcs"],
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:public"],
  31. )