BUILD.bazel 878 B

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