BUILD.bazel 876 B

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