BUILD.bazel 934 B

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