BUILD.bazel 770 B

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