BUILD 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "dao.go",
  11. "data.go",
  12. "getCheckInfo.go",
  13. "getDMConf.go",
  14. "gethistory.go",
  15. "grpc.go",
  16. "ipdb.go",
  17. "liveRPC.go",
  18. "ratelimit.go",
  19. "send.go",
  20. "white_list.go",
  21. ],
  22. importpath = "go-common/app/service/live/live-dm/dao",
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:public"],
  25. deps = [
  26. "//app/service/live/activity/api/liverpc:go_default_library",
  27. "//app/service/live/activity/api/liverpc/v1:go_default_library",
  28. "//app/service/live/av/api/liverpc:go_default_library",
  29. "//app/service/live/banned_service/api/liverpc:go_default_library",
  30. "//app/service/live/broadcast-proxy/api/v1:go_default_library",
  31. "//app/service/live/fans_medal/api/liverpc:go_default_library",
  32. "//app/service/live/fans_medal/api/liverpc/v2:go_default_library",
  33. "//app/service/live/live-dm/conf:go_default_library",
  34. "//app/service/live/live-dm/model:go_default_library",
  35. "//app/service/live/live_user/api/liverpc:go_default_library",
  36. "//app/service/live/live_user/api/liverpc/v1:go_default_library",
  37. "//app/service/live/rankdb/api/liverpc:go_default_library",
  38. "//app/service/live/rankdb/api/liverpc/v1:go_default_library",
  39. "//app/service/live/rc/api/liverpc:go_default_library",
  40. "//app/service/live/rc/api/liverpc/v1:go_default_library",
  41. "//app/service/live/resource/sdk:go_default_library",
  42. "//app/service/live/room/api/liverpc:go_default_library",
  43. "//app/service/live/room/api/liverpc/v1:go_default_library",
  44. "//app/service/live/room/api/liverpc/v2:go_default_library",
  45. "//app/service/live/third_api/liveBroadcast:go_default_library",
  46. "//app/service/live/user/api/liverpc:go_default_library",
  47. "//app/service/live/user/api/liverpc/v3:go_default_library",
  48. "//app/service/live/userext/api/liverpc:go_default_library",
  49. "//app/service/live/userext/api/liverpc/v1:go_default_library",
  50. "//app/service/live/xuser/api/grpc/v1:go_default_library",
  51. "//app/service/main/account/api:go_default_library",
  52. "//app/service/main/filter/api/grpc/v1:go_default_library",
  53. "//app/service/main/location/api:go_default_library",
  54. "//app/service/main/spy/api:go_default_library",
  55. "//library/cache/redis:go_default_library",
  56. "//library/ecode:go_default_library",
  57. "//library/log:go_default_library",
  58. "//library/log/infoc:go_default_library",
  59. "//library/net/rpc/liverpc:go_default_library",
  60. "//library/net/rpc/warden:go_default_library",
  61. "//library/queue/databus:go_default_library",
  62. "//library/sync/pipeline/fanout:go_default_library",
  63. "//vendor/github.com/ipipdotnet/ipdb-go:go_default_library",
  64. "//vendor/github.com/pkg/errors:go_default_library",
  65. "@org_golang_google_grpc//:go_default_library",
  66. ],
  67. )
  68. filegroup(
  69. name = "package-srcs",
  70. srcs = glob(["**"]),
  71. tags = ["automanaged"],
  72. visibility = ["//visibility:private"],
  73. )
  74. filegroup(
  75. name = "all-srcs",
  76. srcs = [":package-srcs"],
  77. tags = ["automanaged"],
  78. visibility = ["//visibility:public"],
  79. )
  80. go_test(
  81. name = "go_default_test",
  82. srcs = [
  83. "getCheckInfo_test.go",
  84. "getDMConf_test.go",
  85. "ratelimit_test.go",
  86. "send_test.go",
  87. "white_list_test.go",
  88. ],
  89. embed = [":go_default_library"],
  90. tags = ["automanaged"],
  91. deps = [
  92. "//app/service/live/activity/api/liverpc:go_default_library",
  93. "//app/service/live/fans_medal/api/liverpc:go_default_library",
  94. "//app/service/live/live-dm/conf:go_default_library",
  95. "//app/service/live/live_user/api/liverpc:go_default_library",
  96. "//app/service/live/rankdb/api/liverpc:go_default_library",
  97. "//app/service/live/rc/api/liverpc:go_default_library",
  98. "//app/service/live/room/api/liverpc:go_default_library",
  99. "//app/service/live/userext/api/liverpc:go_default_library",
  100. "//app/service/main/account/api:go_default_library",
  101. "//app/service/main/filter/api/grpc/v1:go_default_library",
  102. "//app/service/main/spy/api:go_default_library",
  103. "//library/net/metadata:go_default_library",
  104. ],
  105. )