BUILD.bazel 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "api.go",
  6. "api_common.go",
  7. "api_pre17.go",
  8. "app_id.go",
  9. "identity.go",
  10. "identity_vm.go",
  11. "internal.go",
  12. "main_vm.go",
  13. "metadata.go",
  14. "net.go",
  15. "transaction.go",
  16. ],
  17. importmap = "go-common/vendor/google.golang.org/appengine/internal",
  18. importpath = "google.golang.org/appengine/internal",
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//vendor/google.golang.org/appengine/internal/base:go_default_library",
  22. "//vendor/google.golang.org/appengine/internal/datastore:go_default_library",
  23. "//vendor/google.golang.org/appengine/internal/log:go_default_library",
  24. "//vendor/google.golang.org/appengine/internal/remote_api:go_default_library",
  25. "@com_github_golang_protobuf//proto:go_default_library",
  26. "@org_golang_x_net//context:go_default_library",
  27. ],
  28. )
  29. filegroup(
  30. name = "package-srcs",
  31. srcs = glob(["**"]),
  32. tags = ["automanaged"],
  33. visibility = ["//visibility:private"],
  34. )
  35. filegroup(
  36. name = "all-srcs",
  37. srcs = [
  38. ":package-srcs",
  39. "//vendor/google.golang.org/appengine/internal/app_identity:all-srcs",
  40. "//vendor/google.golang.org/appengine/internal/base:all-srcs",
  41. "//vendor/google.golang.org/appengine/internal/datastore:all-srcs",
  42. "//vendor/google.golang.org/appengine/internal/log:all-srcs",
  43. "//vendor/google.golang.org/appengine/internal/modules:all-srcs",
  44. "//vendor/google.golang.org/appengine/internal/remote_api:all-srcs",
  45. "//vendor/google.golang.org/appengine/internal/urlfetch:all-srcs",
  46. ],
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. )