BUILD.bazel 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "appengine.go",
  6. "appengine_vm.go",
  7. "errors.go",
  8. "identity.go",
  9. "namespace.go",
  10. "timeout.go",
  11. ],
  12. importmap = "go-common/vendor/google.golang.org/appengine",
  13. importpath = "google.golang.org/appengine",
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//vendor/google.golang.org/appengine/internal:go_default_library",
  17. "//vendor/google.golang.org/appengine/internal/app_identity:go_default_library",
  18. "//vendor/google.golang.org/appengine/internal/modules:go_default_library",
  19. "@com_github_golang_protobuf//proto:go_default_library",
  20. "@org_golang_x_net//context:go_default_library",
  21. ],
  22. )
  23. filegroup(
  24. name = "package-srcs",
  25. srcs = glob(["**"]),
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:private"],
  28. )
  29. filegroup(
  30. name = "all-srcs",
  31. srcs = [
  32. ":package-srcs",
  33. "//vendor/google.golang.org/appengine/internal:all-srcs",
  34. "//vendor/google.golang.org/appengine/urlfetch:all-srcs",
  35. ],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )