BUILD.bazel 901 B

12345678910111213141516171819202122232425262728293031323334
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "call_option.go",
  6. "gax.go",
  7. "header.go",
  8. "invoke.go",
  9. ],
  10. importmap = "k8s.io/test-infra/vendor/github.com/googleapis/gax-go",
  11. importpath = "github.com/googleapis/gax-go",
  12. visibility = ["//visibility:public"],
  13. deps = [
  14. "@org_golang_google_grpc//:go_default_library",
  15. "@org_golang_google_grpc//codes:go_default_library",
  16. "@org_golang_google_grpc//status: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. )