BUILD 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = [
  10. "audit_test.go",
  11. "banner_test.go",
  12. "black_test.go",
  13. "cache_test.go",
  14. "index2_test.go",
  15. "index_test.go",
  16. "infoc_test.go",
  17. "operate_test.go",
  18. "player_test.go",
  19. "service_test.go",
  20. "tab_test.go",
  21. "upper_test.go",
  22. ],
  23. embed = [":go_default_library"],
  24. rundir = ".",
  25. tags = ["automanaged"],
  26. deps = [
  27. "//app/interface/main/app-card/model/card/ai:go_default_library",
  28. "//app/interface/main/app-card/model/card/live:go_default_library",
  29. "//app/interface/main/app-card/model/card/operate:go_default_library",
  30. "//app/interface/main/app-feed/conf:go_default_library",
  31. "//app/service/main/archive/model/archive:go_default_library",
  32. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  33. ],
  34. )
  35. go_library(
  36. name = "go_default_library",
  37. srcs = [
  38. "audit.go",
  39. "banner.go",
  40. "black.go",
  41. "cache.go",
  42. "index.go",
  43. "index2.go",
  44. "infoc.go",
  45. "operate.go",
  46. "player.go",
  47. "rank.go",
  48. "search.go",
  49. "service.go",
  50. "tab.go",
  51. "tab2.go",
  52. "upper.go",
  53. ],
  54. importpath = "go-common/app/interface/main/app-feed/service/feed",
  55. tags = ["automanaged"],
  56. deps = [
  57. "//app/interface/main/app-card/model:go_default_library",
  58. "//app/interface/main/app-card/model/bplus:go_default_library",
  59. "//app/interface/main/app-card/model/card:go_default_library",
  60. "//app/interface/main/app-card/model/card/ai:go_default_library",
  61. "//app/interface/main/app-card/model/card/audio:go_default_library",
  62. "//app/interface/main/app-card/model/card/bangumi:go_default_library",
  63. "//app/interface/main/app-card/model/card/banner:go_default_library",
  64. "//app/interface/main/app-card/model/card/cm:go_default_library",
  65. "//app/interface/main/app-card/model/card/live:go_default_library",
  66. "//app/interface/main/app-card/model/card/operate:go_default_library",
  67. "//app/interface/main/app-card/model/card/rank:go_default_library",
  68. "//app/interface/main/app-card/model/card/show:go_default_library",
  69. "//app/interface/main/app-feed/conf:go_default_library",
  70. "//app/interface/main/app-feed/dao/account:go_default_library",
  71. "//app/interface/main/app-feed/dao/ad:go_default_library",
  72. "//app/interface/main/app-feed/dao/archive:go_default_library",
  73. "//app/interface/main/app-feed/dao/article:go_default_library",
  74. "//app/interface/main/app-feed/dao/audio:go_default_library",
  75. "//app/interface/main/app-feed/dao/audit:go_default_library",
  76. "//app/interface/main/app-feed/dao/bangumi:go_default_library",
  77. "//app/interface/main/app-feed/dao/black:go_default_library",
  78. "//app/interface/main/app-feed/dao/bplus:go_default_library",
  79. "//app/interface/main/app-feed/dao/card:go_default_library",
  80. "//app/interface/main/app-feed/dao/converge:go_default_library",
  81. "//app/interface/main/app-feed/dao/game:go_default_library",
  82. "//app/interface/main/app-feed/dao/live:go_default_library",
  83. "//app/interface/main/app-feed/dao/location:go_default_library",
  84. "//app/interface/main/app-feed/dao/rank:go_default_library",
  85. "//app/interface/main/app-feed/dao/recommend:go_default_library",
  86. "//app/interface/main/app-feed/dao/relation:go_default_library",
  87. "//app/interface/main/app-feed/dao/resource:go_default_library",
  88. "//app/interface/main/app-feed/dao/search:go_default_library",
  89. "//app/interface/main/app-feed/dao/show:go_default_library",
  90. "//app/interface/main/app-feed/dao/special:go_default_library",
  91. "//app/interface/main/app-feed/dao/tab:go_default_library",
  92. "//app/interface/main/app-feed/dao/tag:go_default_library",
  93. "//app/interface/main/app-feed/dao/upper:go_default_library",
  94. "//app/interface/main/app-feed/model:go_default_library",
  95. "//app/interface/main/app-feed/model/feed:go_default_library",
  96. "//app/interface/main/app-feed/model/live:go_default_library",
  97. "//app/interface/main/app-feed/model/tag:go_default_library",
  98. "//app/interface/main/tag/model:go_default_library",
  99. "//app/interface/openplatform/article/model:go_default_library",
  100. "//app/service/main/account/model:go_default_library",
  101. "//app/service/main/archive/api:go_default_library",
  102. "//app/service/main/archive/model/archive:go_default_library",
  103. "//app/service/main/feed/model:go_default_library",
  104. "//app/service/main/location/model:go_default_library",
  105. "//app/service/main/relation/model:go_default_library",
  106. "//app/service/main/resource/model:go_default_library",
  107. "//app/service/openplatform/pgc-season/api/grpc/episode/v1:go_default_library",
  108. "//library/ecode:go_default_library",
  109. "//library/log:go_default_library",
  110. "//library/log/infoc:go_default_library",
  111. "//library/net/metadata:go_default_library",
  112. "//library/stat/prom:go_default_library",
  113. "//library/sync/errgroup:go_default_library",
  114. ],
  115. )
  116. filegroup(
  117. name = "package-srcs",
  118. srcs = glob(["**"]),
  119. tags = ["automanaged"],
  120. visibility = ["//visibility:private"],
  121. )
  122. filegroup(
  123. name = "all-srcs",
  124. srcs = [":package-srcs"],
  125. tags = ["automanaged"],
  126. visibility = ["//visibility:public"],
  127. )