BUILD 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. "act_test.go",
  11. "like_test.go",
  12. "match_test.go",
  13. "missiongroup_test.go",
  14. "service_test.go",
  15. "subject_test.go",
  16. ],
  17. embed = [":go_default_library"],
  18. rundir = ".",
  19. tags = ["automanaged"],
  20. deps = [
  21. "//app/interface/main/activity/conf:go_default_library",
  22. "//app/interface/main/activity/model/like:go_default_library",
  23. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  24. ],
  25. )
  26. go_library(
  27. name = "go_default_library",
  28. srcs = [
  29. "act.go",
  30. "bnj.go",
  31. "like.go",
  32. "match.go",
  33. "missiongroup.go",
  34. "service.go",
  35. "subject.go",
  36. ],
  37. importpath = "go-common/app/interface/main/activity/service/like",
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:public"],
  40. deps = [
  41. "//app/interface/main/activity/conf:go_default_library",
  42. "//app/interface/main/activity/dao/bnj:go_default_library",
  43. "//app/interface/main/activity/dao/like:go_default_library",
  44. "//app/interface/main/activity/model/bnj:go_default_library",
  45. "//app/interface/main/activity/model/like:go_default_library",
  46. "//app/interface/main/tag/model:go_default_library",
  47. "//app/interface/main/tag/rpc/client:go_default_library",
  48. "//app/service/main/account/api:go_default_library",
  49. "//app/service/main/archive/api:go_default_library",
  50. "//app/service/main/archive/api/gorpc:go_default_library",
  51. "//app/service/main/archive/model/archive:go_default_library",
  52. "//app/service/main/coin/api/gorpc:go_default_library",
  53. "//app/service/main/coin/model:go_default_library",
  54. "//app/service/main/spy/model:go_default_library",
  55. "//app/service/main/spy/rpc/client:go_default_library",
  56. "//app/service/main/thumbup/model:go_default_library",
  57. "//app/service/main/thumbup/rpc/client:go_default_library",
  58. "//app/service/main/usersuit/model:go_default_library",
  59. "//app/service/main/usersuit/rpc/client:go_default_library",
  60. "//library/ecode:go_default_library",
  61. "//library/log:go_default_library",
  62. "//library/net/metadata:go_default_library",
  63. "//library/sync/errgroup:go_default_library",
  64. "//library/sync/pipeline/fanout:go_default_library",
  65. "//library/time:go_default_library",
  66. "//library/xstr:go_default_library",
  67. "//vendor/github.com/pkg/errors:go_default_library",
  68. ],
  69. )
  70. filegroup(
  71. name = "package-srcs",
  72. srcs = glob(["**"]),
  73. tags = ["automanaged"],
  74. visibility = ["//visibility:private"],
  75. )
  76. filegroup(
  77. name = "all-srcs",
  78. srcs = [":package-srcs"],
  79. tags = ["automanaged"],
  80. visibility = ["//visibility:public"],
  81. )