BUILD 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 = ["channel_test.go"],
  10. embed = [":go_default_library"],
  11. rundir = ".",
  12. tags = ["automanaged"],
  13. deps = [
  14. "//app/interface/main/app-channel/conf:go_default_library",
  15. "//app/interface/main/app-channel/model:go_default_library",
  16. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  17. ],
  18. )
  19. go_library(
  20. name = "go_default_library",
  21. srcs = [
  22. "audit.go",
  23. "cache.go",
  24. "channel.go",
  25. "index.go",
  26. "index2.go",
  27. "infoc.go",
  28. "manager.go",
  29. "service.go",
  30. "tab.go",
  31. ],
  32. importpath = "go-common/app/interface/main/app-channel/service/channel",
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. deps = [
  36. "//app/interface/main/app-card/model:go_default_library",
  37. "//app/interface/main/app-card/model/card:go_default_library",
  38. "//app/interface/main/app-card/model/card/audio:go_default_library",
  39. "//app/interface/main/app-card/model/card/bangumi:go_default_library",
  40. "//app/interface/main/app-card/model/card/live:go_default_library",
  41. "//app/interface/main/app-card/model/card/operate:go_default_library",
  42. "//app/interface/main/app-card/model/card/show:go_default_library",
  43. "//app/interface/main/app-channel/conf:go_default_library",
  44. "//app/interface/main/app-channel/dao/account:go_default_library",
  45. "//app/interface/main/app-channel/dao/activity:go_default_library",
  46. "//app/interface/main/app-channel/dao/archive:go_default_library",
  47. "//app/interface/main/app-channel/dao/article:go_default_library",
  48. "//app/interface/main/app-channel/dao/audio:go_default_library",
  49. "//app/interface/main/app-channel/dao/audit:go_default_library",
  50. "//app/interface/main/app-channel/dao/bangumi:go_default_library",
  51. "//app/interface/main/app-channel/dao/card:go_default_library",
  52. "//app/interface/main/app-channel/dao/converge:go_default_library",
  53. "//app/interface/main/app-channel/dao/game:go_default_library",
  54. "//app/interface/main/app-channel/dao/live:go_default_library",
  55. "//app/interface/main/app-channel/dao/location:go_default_library",
  56. "//app/interface/main/app-channel/dao/region:go_default_library",
  57. "//app/interface/main/app-channel/dao/relation:go_default_library",
  58. "//app/interface/main/app-channel/dao/shopping:go_default_library",
  59. "//app/interface/main/app-channel/dao/special:go_default_library",
  60. "//app/interface/main/app-channel/dao/tab:go_default_library",
  61. "//app/interface/main/app-channel/dao/tag:go_default_library",
  62. "//app/interface/main/app-channel/model:go_default_library",
  63. "//app/interface/main/app-channel/model/activity:go_default_library",
  64. "//app/interface/main/app-channel/model/card:go_default_library",
  65. "//app/interface/main/app-channel/model/channel:go_default_library",
  66. "//app/interface/main/app-channel/model/feed:go_default_library",
  67. "//app/interface/main/app-channel/model/tab:go_default_library",
  68. "//app/interface/main/tag/model:go_default_library",
  69. "//app/interface/openplatform/article/model:go_default_library",
  70. "//app/service/main/account/model:go_default_library",
  71. "//app/service/main/archive/model/archive:go_default_library",
  72. "//app/service/main/location/model:go_default_library",
  73. "//app/service/main/relation/model:go_default_library",
  74. "//app/service/openplatform/pgc-season/api/grpc/episode/v1:go_default_library",
  75. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  76. "//library/log:go_default_library",
  77. "//library/log/infoc:go_default_library",
  78. "//library/net/metadata:go_default_library",
  79. "//library/sync/errgroup:go_default_library",
  80. "//vendor/github.com/dgryski/go-farm:go_default_library",
  81. ],
  82. )
  83. filegroup(
  84. name = "package-srcs",
  85. srcs = glob(["**"]),
  86. tags = ["automanaged"],
  87. visibility = ["//visibility:private"],
  88. )
  89. filegroup(
  90. name = "all-srcs",
  91. srcs = [":package-srcs"],
  92. tags = ["automanaged"],
  93. visibility = ["//visibility:public"],
  94. )