BUILD 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_test",
  4. "go_library",
  5. )
  6. go_test(
  7. name = "go_default_test",
  8. srcs = ["user_like_test.go"],
  9. embed = [":go_default_library"],
  10. tags = ["automanaged"],
  11. deps = ["//app/interface/bbq/app-bbq/conf:go_default_library"],
  12. )
  13. go_library(
  14. name = "go_default_library",
  15. srcs = [
  16. "app.go",
  17. "comment.go",
  18. "danmu.go",
  19. "dao.go",
  20. "feed.go",
  21. "filter.go",
  22. "image.go",
  23. "location.go",
  24. "notice.go",
  25. "push.go",
  26. "redundance.go",
  27. "report.go",
  28. "search.go",
  29. "share.go",
  30. "sv.go",
  31. "sv_stat.go",
  32. "upload.go",
  33. "user.go",
  34. "user_like.go",
  35. "user_relation.go",
  36. "video.go",
  37. ],
  38. importpath = "go-common/app/interface/bbq/app-bbq/dao",
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. deps = [
  42. "//app/interface/bbq/app-bbq/api/http/v1:go_default_library",
  43. "//app/interface/bbq/app-bbq/conf:go_default_library",
  44. "//app/interface/bbq/app-bbq/model:go_default_library",
  45. "//app/interface/bbq/app-bbq/model/grpc:go_default_library",
  46. "//app/service/bbq/common:go_default_library",
  47. "//app/service/bbq/notice-service/api/v1:go_default_library",
  48. "//app/service/bbq/recsys/api/grpc/v1:go_default_library",
  49. "//app/service/bbq/user/api:go_default_library",
  50. "//app/service/bbq/video-image/api/grpc/v1:go_default_library",
  51. "//app/service/bbq/video/api/grpc/v1:go_default_library",
  52. "//app/service/main/account/api:go_default_library",
  53. "//app/service/main/filter/api/grpc/v1:go_default_library",
  54. "//library/cache/redis:go_default_library",
  55. "//library/database/sql:go_default_library",
  56. "//library/ecode:go_default_library",
  57. "//library/log:go_default_library",
  58. "//library/net/http/blademaster:go_default_library",
  59. "//library/net/metadata:go_default_library",
  60. "//library/net/rpc/warden:go_default_library",
  61. "//library/sync/pipeline/fanout:go_default_library",
  62. "//library/time:go_default_library",
  63. "//library/xstr:go_default_library",
  64. "//vendor/github.com/json-iterator/go: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. )