BUILD.bazel 776 B

1234567891011121314151617181920212223242526272829303132
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "doc.go",
  6. "oauth2.go",
  7. "token.go",
  8. "transport.go",
  9. ],
  10. importmap = "go-common/vendor/golang.org/x/oauth2/internal",
  11. importpath = "golang.org/x/oauth2/internal",
  12. visibility = ["//visibility:public"],
  13. deps = [
  14. "@org_golang_x_net//context:go_default_library",
  15. "@org_golang_x_net//context/ctxhttp:go_default_library",
  16. ],
  17. )
  18. filegroup(
  19. name = "package-srcs",
  20. srcs = glob(["**"]),
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:private"],
  23. )
  24. filegroup(
  25. name = "all-srcs",
  26. srcs = [":package-srcs"],
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:public"],
  29. )