BUILD 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "account.go",
  10. "album.go",
  11. "app.go",
  12. "archive.go",
  13. "article.go",
  14. "assist.go",
  15. "bangumi.go",
  16. "blacklist.go",
  17. "channel.go",
  18. "coin.go",
  19. "dynamic.go",
  20. "fav.go",
  21. "http.go",
  22. "setting.go",
  23. "shop.go",
  24. "tag.go",
  25. "web.go",
  26. ],
  27. importpath = "go-common/app/interface/main/space/http",
  28. tags = ["automanaged"],
  29. deps = [
  30. "//app/interface/main/space/conf:go_default_library",
  31. "//app/interface/main/space/model:go_default_library",
  32. "//app/interface/main/space/service:go_default_library",
  33. "//app/interface/openplatform/article/model:go_default_library",
  34. "//app/service/main/assist/model/assist:go_default_library",
  35. "//library/conf/env:go_default_library",
  36. "//library/ecode:go_default_library",
  37. "//library/log:go_default_library",
  38. "//library/net/http/blademaster:go_default_library",
  39. "//library/net/http/blademaster/middleware/auth:go_default_library",
  40. "//library/net/http/blademaster/middleware/supervisor:go_default_library",
  41. "//library/net/http/blademaster/middleware/verify:go_default_library",
  42. "//library/xstr:go_default_library",
  43. ],
  44. )
  45. filegroup(
  46. name = "package-srcs",
  47. srcs = glob(["**"]),
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:private"],
  50. )
  51. filegroup(
  52. name = "all-srcs",
  53. srcs = [":package-srcs"],
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:public"],
  56. )
  57. load(
  58. "@io_bazel_rules_go//go:def.bzl",
  59. "go_library",
  60. )