BUILD 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. "cursor_test.go",
  11. "list_test.go",
  12. "reply_test.go",
  13. "service_test.go",
  14. "subject_test.go",
  15. ],
  16. embed = [":go_default_library"],
  17. rundir = ".",
  18. tags = ["automanaged"],
  19. deps = [
  20. "//app/interface/main/reply/conf:go_default_library",
  21. "//app/interface/main/reply/model/reply:go_default_library",
  22. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  23. ],
  24. )
  25. go_library(
  26. name = "go_default_library",
  27. srcs = [
  28. "business.go",
  29. "chan.go",
  30. "cursor.go",
  31. "list.go",
  32. "notice.go",
  33. "reply.go",
  34. "reply_admin.go",
  35. "reply_record.go",
  36. "reply_report.go",
  37. "rpc.go",
  38. "service.go",
  39. "subject.go",
  40. "xreply.go",
  41. ],
  42. importpath = "go-common/app/interface/main/reply/service",
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. deps = [
  46. "//app/interface/main/reply/conf:go_default_library",
  47. "//app/interface/main/reply/dao/bigdata:go_default_library",
  48. "//app/interface/main/reply/dao/drawyoo:go_default_library",
  49. "//app/interface/main/reply/dao/fans:go_default_library",
  50. "//app/interface/main/reply/dao/reply:go_default_library",
  51. "//app/interface/main/reply/dao/search:go_default_library",
  52. "//app/interface/main/reply/dao/vip:go_default_library",
  53. "//app/interface/main/reply/dao/workflow:go_default_library",
  54. "//app/interface/main/reply/model/adminlog:go_default_library",
  55. "//app/interface/main/reply/model/drawyoo:go_default_library",
  56. "//app/interface/main/reply/model/reply:go_default_library",
  57. "//app/interface/main/reply/model/xreply:go_default_library",
  58. "//app/interface/openplatform/article/model:go_default_library",
  59. "//app/interface/openplatform/article/rpc/client:go_default_library",
  60. "//app/service/main/account/api:go_default_library",
  61. "//app/service/main/archive/api:go_default_library",
  62. "//app/service/main/archive/api/gorpc:go_default_library",
  63. "//app/service/main/archive/model/archive:go_default_library",
  64. "//app/service/main/assist/model/assist:go_default_library",
  65. "//app/service/main/assist/rpc/client:go_default_library",
  66. "//app/service/main/figure/model:go_default_library",
  67. "//app/service/main/figure/rpc/client:go_default_library",
  68. "//app/service/main/filter/api/grpc/v1:go_default_library",
  69. "//app/service/main/location/model:go_default_library",
  70. "//app/service/main/location/rpc/client:go_default_library",
  71. "//app/service/main/relation/model:go_default_library",
  72. "//app/service/main/reply-feed/api:go_default_library",
  73. "//app/service/main/seq-server/model:go_default_library",
  74. "//app/service/main/seq-server/rpc/client:go_default_library",
  75. "//app/service/main/thumbup/model:go_default_library",
  76. "//app/service/main/thumbup/rpc/client:go_default_library",
  77. "//app/service/main/ugcpay/api/grpc/v1:go_default_library",
  78. "//library/ecode:go_default_library",
  79. "//library/log:go_default_library",
  80. "//library/log/infoc:go_default_library",
  81. "//library/net/ip:go_default_library",
  82. "//library/net/metadata:go_default_library",
  83. "//library/queue/databus/report:go_default_library",
  84. "//library/sync/errgroup:go_default_library",
  85. "//library/sync/errgroup.v2:go_default_library",
  86. "//library/sync/pipeline/fanout:go_default_library",
  87. "//library/time:go_default_library",
  88. "//library/xstr:go_default_library",
  89. "//vendor/github.com/mvdan/xurls:go_default_library",
  90. ],
  91. )
  92. filegroup(
  93. name = "package-srcs",
  94. srcs = glob(["**"]),
  95. tags = ["automanaged"],
  96. visibility = ["//visibility:private"],
  97. )
  98. filegroup(
  99. name = "all-srcs",
  100. srcs = [":package-srcs"],
  101. tags = ["automanaged"],
  102. visibility = ["//visibility:public"],
  103. )