BUILD.bazel 571 B

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