BUILD 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 = ["show_test.go"],
  10. embed = [":go_default_library"],
  11. rundir = ".",
  12. tags = ["automanaged"],
  13. deps = [
  14. "//app/interface/main/app-show/conf:go_default_library",
  15. "//app/interface/main/app-show/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. "ad.go",
  23. "audit.go",
  24. "banner.go",
  25. "cache.go",
  26. "feed.go",
  27. "feed2.go",
  28. "infoc.go",
  29. "manager.go",
  30. "service.go",
  31. "show.go",
  32. ],
  33. importpath = "go-common/app/interface/main/app-show/service/show",
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. deps = [
  37. "//app/interface/main/app-card/model:go_default_library",
  38. "//app/interface/main/app-card/model/card:go_default_library",
  39. "//app/interface/main/app-card/model/card/ai: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/rank:go_default_library",
  43. "//app/interface/main/app-show/conf:go_default_library",
  44. "//app/interface/main/app-show/dao/account:go_default_library",
  45. "//app/interface/main/app-show/dao/activity:go_default_library",
  46. "//app/interface/main/app-show/dao/ad:go_default_library",
  47. "//app/interface/main/app-show/dao/archive:go_default_library",
  48. "//app/interface/main/app-show/dao/audit:go_default_library",
  49. "//app/interface/main/app-show/dao/bangumi:go_default_library",
  50. "//app/interface/main/app-show/dao/card:go_default_library",
  51. "//app/interface/main/app-show/dao/databus:go_default_library",
  52. "//app/interface/main/app-show/dao/dynamic:go_default_library",
  53. "//app/interface/main/app-show/dao/live:go_default_library",
  54. "//app/interface/main/app-show/dao/location:go_default_library",
  55. "//app/interface/main/app-show/dao/recommend:go_default_library",
  56. "//app/interface/main/app-show/dao/region:go_default_library",
  57. "//app/interface/main/app-show/dao/relation:go_default_library",
  58. "//app/interface/main/app-show/dao/resource:go_default_library",
  59. "//app/interface/main/app-show/dao/show:go_default_library",
  60. "//app/interface/main/app-show/dao/tag:go_default_library",
  61. "//app/interface/main/app-show/model:go_default_library",
  62. "//app/interface/main/app-show/model/banner:go_default_library",
  63. "//app/interface/main/app-show/model/card:go_default_library",
  64. "//app/interface/main/app-show/model/feed:go_default_library",
  65. "//app/interface/main/app-show/model/recommend:go_default_library",
  66. "//app/interface/main/app-show/model/region:go_default_library",
  67. "//app/interface/main/app-show/model/show:go_default_library",
  68. "//app/interface/main/creative/api:go_default_library",
  69. "//app/service/main/account/model:go_default_library",
  70. "//app/service/main/archive/api: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/main/resource/model:go_default_library",
  75. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  76. "//library/ecode:go_default_library",
  77. "//library/log:go_default_library",
  78. "//library/log/infoc:go_default_library",
  79. "//library/net/http/blademaster:go_default_library",
  80. "//library/stat/prom:go_default_library",
  81. "//library/sync/errgroup:go_default_library",
  82. ],
  83. )
  84. filegroup(
  85. name = "package-srcs",
  86. srcs = glob(["**"]),
  87. tags = ["automanaged"],
  88. visibility = ["//visibility:private"],
  89. )
  90. filegroup(
  91. name = "all-srcs",
  92. srcs = [":package-srcs"],
  93. tags = ["automanaged"],
  94. visibility = ["//visibility:public"],
  95. )