BUILD 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. "black.go",
  10. "cache.go",
  11. "index.go",
  12. "infoc.go",
  13. "operate.go",
  14. "player.go",
  15. "rank.go",
  16. "service.go",
  17. ],
  18. importpath = "go-common/app/interface/main/app-intl/service/feed",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/interface/main/app-card/model:go_default_library",
  23. "//app/interface/main/app-card/model/card:go_default_library",
  24. "//app/interface/main/app-card/model/card/ai:go_default_library",
  25. "//app/interface/main/app-card/model/card/banner:go_default_library",
  26. "//app/interface/main/app-card/model/card/cm:go_default_library",
  27. "//app/interface/main/app-card/model/card/operate:go_default_library",
  28. "//app/interface/main/app-card/model/card/rank:go_default_library",
  29. "//app/interface/main/app-intl/conf:go_default_library",
  30. "//app/interface/main/app-intl/dao/account:go_default_library",
  31. "//app/interface/main/app-intl/dao/archive:go_default_library",
  32. "//app/interface/main/app-intl/dao/black:go_default_library",
  33. "//app/interface/main/app-intl/dao/card:go_default_library",
  34. "//app/interface/main/app-intl/dao/location:go_default_library",
  35. "//app/interface/main/app-intl/dao/rank:go_default_library",
  36. "//app/interface/main/app-intl/dao/recommend:go_default_library",
  37. "//app/interface/main/app-intl/dao/relation:go_default_library",
  38. "//app/interface/main/app-intl/dao/tag:go_default_library",
  39. "//app/interface/main/app-intl/model:go_default_library",
  40. "//app/interface/main/app-intl/model/feed:go_default_library",
  41. "//app/interface/main/tag/model:go_default_library",
  42. "//app/service/main/account/model:go_default_library",
  43. "//app/service/main/archive/model/archive:go_default_library",
  44. "//app/service/main/location/model:go_default_library",
  45. "//app/service/main/relation/model:go_default_library",
  46. "//library/ecode:go_default_library",
  47. "//library/log:go_default_library",
  48. "//library/log/infoc:go_default_library",
  49. "//library/net/metadata:go_default_library",
  50. "//library/stat/prom:go_default_library",
  51. "//library/sync/errgroup:go_default_library",
  52. "//library/text/translate/chinese:go_default_library",
  53. ],
  54. )
  55. filegroup(
  56. name = "package-srcs",
  57. srcs = glob(["**"]),
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:private"],
  60. )
  61. filegroup(
  62. name = "all-srcs",
  63. srcs = [":package-srcs"],
  64. tags = ["automanaged"],
  65. visibility = ["//visibility:public"],
  66. )