BUILD 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. "advance_test.go",
  11. "advert_test.go",
  12. "archive_test.go",
  13. "dm_history_test.go",
  14. "dm_manage_test.go",
  15. "dm_seg_test.go",
  16. "dm_test.go",
  17. "dmpost_test.go",
  18. "filter_test.go",
  19. "mask_test.go",
  20. "member_test.go",
  21. "service_test.go",
  22. "subject_test.go",
  23. "subtitle_test.go",
  24. "thumbup_test.go",
  25. ],
  26. embed = [":go_default_library"],
  27. tags = ["automanaged"],
  28. deps = [
  29. "//app/interface/main/dm2/conf:go_default_library",
  30. "//app/interface/main/dm2/model:go_default_library",
  31. "//app/service/main/account/api:go_default_library",
  32. "//app/service/main/member/model/block:go_default_library",
  33. "//library/ecode:go_default_library",
  34. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  35. ],
  36. )
  37. go_library(
  38. name = "go_default_library",
  39. srcs = [
  40. "account.go",
  41. "advance.go",
  42. "advert.go",
  43. "archive.go",
  44. "bnj.go",
  45. "dm.go",
  46. "dm_history.go",
  47. "dm_manage.go",
  48. "dm_seg.go",
  49. "dm_seg_v2.go",
  50. "dmpost.go",
  51. "filter.go",
  52. "mask.go",
  53. "member.go",
  54. "service.go",
  55. "subject.go",
  56. "subtitle.go",
  57. "subtitle_audit.go",
  58. "subtitle_check.go",
  59. "subtitle_get.go",
  60. "subtitle_lan.go",
  61. "subtitle_report.go",
  62. "subtitle_save.go",
  63. "subtitle_search.go",
  64. "subtitle_subject.go",
  65. "subtitle_video.go",
  66. "thumbup.go",
  67. "view.go",
  68. "wave_form.go",
  69. ],
  70. importpath = "go-common/app/interface/main/dm2/service",
  71. tags = ["automanaged"],
  72. visibility = ["//visibility:public"],
  73. deps = [
  74. "//app/interface/main/dm2/conf:go_default_library",
  75. "//app/interface/main/dm2/dao:go_default_library",
  76. "//app/interface/main/dm2/lib/xregex:go_default_library",
  77. "//app/interface/main/dm2/model:go_default_library",
  78. "//app/interface/main/dm2/model/oplog:go_default_library",
  79. "//app/service/main/account/api:go_default_library",
  80. "//app/service/main/archive/api:go_default_library",
  81. "//app/service/main/archive/api/gorpc:go_default_library",
  82. "//app/service/main/archive/model/archive:go_default_library",
  83. "//app/service/main/assist/model/assist:go_default_library",
  84. "//app/service/main/assist/rpc/client:go_default_library",
  85. "//app/service/main/coin/api/gorpc:go_default_library",
  86. "//app/service/main/coin/model:go_default_library",
  87. "//app/service/main/figure/model:go_default_library",
  88. "//app/service/main/figure/rpc/client:go_default_library",
  89. "//app/service/main/filter/api/grpc/v1:go_default_library",
  90. "//app/service/main/location/model:go_default_library",
  91. "//app/service/main/location/rpc/client:go_default_library",
  92. "//app/service/main/member/api/gorpc:go_default_library",
  93. "//app/service/main/member/model/block:go_default_library",
  94. "//app/service/main/relation/model:go_default_library",
  95. "//app/service/main/relation/rpc/client:go_default_library",
  96. "//app/service/main/seq-server/model:go_default_library",
  97. "//app/service/main/seq-server/rpc/client:go_default_library",
  98. "//app/service/main/spy/model:go_default_library",
  99. "//app/service/main/spy/rpc/client:go_default_library",
  100. "//app/service/main/thumbup/api:go_default_library",
  101. "//app/service/main/ugcpay/api/grpc/v1:go_default_library",
  102. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  103. "//library/database/elastic:go_default_library",
  104. "//library/database/sql:go_default_library",
  105. "//library/ecode:go_default_library",
  106. "//library/log:go_default_library",
  107. "//library/log/infoc:go_default_library",
  108. "//library/net/metadata:go_default_library",
  109. "//library/sync/errgroup:go_default_library",
  110. "//library/sync/pipeline/fanout:go_default_library",
  111. "//library/time:go_default_library",
  112. "//library/xstr:go_default_library",
  113. "//vendor/github.com/zhenjl/cityhash:go_default_library",
  114. "//vendor/golang.org/x/sync/singleflight:go_default_library",
  115. ],
  116. )
  117. filegroup(
  118. name = "package-srcs",
  119. srcs = glob(["**"]),
  120. tags = ["automanaged"],
  121. visibility = ["//visibility:private"],
  122. )
  123. filegroup(
  124. name = "all-srcs",
  125. srcs = [":package-srcs"],
  126. tags = ["automanaged"],
  127. visibility = ["//visibility:public"],
  128. )