BUILD 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. "anniversary.go",
  10. "apply.go",
  11. "archive.go",
  12. "article.go",
  13. "author.go",
  14. "cards.go",
  15. "categories.go",
  16. "complaint.go",
  17. "creative.go",
  18. "favorite.go",
  19. "hotspots.go",
  20. "http.go",
  21. "like.go",
  22. "list.go",
  23. "notice.go",
  24. "rank.go",
  25. "read.go",
  26. "recommends.go",
  27. "search.go",
  28. "sentinel.go",
  29. "share.go",
  30. "users.go",
  31. "view.go",
  32. ],
  33. importpath = "go-common/app/interface/openplatform/article/http",
  34. tags = ["automanaged"],
  35. deps = [
  36. "//app/interface/openplatform/article/conf:go_default_library",
  37. "//app/interface/openplatform/article/dao:go_default_library",
  38. "//app/interface/openplatform/article/model:go_default_library",
  39. "//app/interface/openplatform/article/service:go_default_library",
  40. "//app/service/main/archive/api:go_default_library",
  41. "//library/ecode:go_default_library",
  42. "//library/log:go_default_library",
  43. "//library/log/infoc:go_default_library",
  44. "//library/net/http/blademaster:go_default_library",
  45. "//library/net/http/blademaster/middleware/antispam:go_default_library",
  46. "//library/net/http/blademaster/middleware/auth:go_default_library",
  47. "//library/net/http/blademaster/middleware/cache:go_default_library",
  48. "//library/net/http/blademaster/middleware/cache/store:go_default_library",
  49. "//library/net/http/blademaster/middleware/verify:go_default_library",
  50. "//library/net/metadata:go_default_library",
  51. "//library/xstr:go_default_library",
  52. ],
  53. )
  54. filegroup(
  55. name = "package-srcs",
  56. srcs = glob(["**"]),
  57. tags = ["automanaged"],
  58. visibility = ["//visibility:private"],
  59. )
  60. filegroup(
  61. name = "all-srcs",
  62. srcs = [":package-srcs"],
  63. tags = ["automanaged"],
  64. visibility = ["//visibility:public"],
  65. )