BUILD 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. "action_test.go",
  11. "archive_test.go",
  12. "dm_seg_test.go",
  13. "dm_sepcial_test.go",
  14. "dm_test.go",
  15. "mask_test.go",
  16. "service_test.go",
  17. "subject_test.go",
  18. "subtitle_test.go",
  19. "task_test.go",
  20. "track_test.go",
  21. "transfer_test.go",
  22. ],
  23. embed = [":go_default_library"],
  24. rundir = ".",
  25. tags = ["automanaged"],
  26. deps = [
  27. "//app/job/main/dm2/conf:go_default_library",
  28. "//app/job/main/dm2/model:go_default_library",
  29. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  30. ],
  31. )
  32. go_library(
  33. name = "go_default_library",
  34. srcs = [
  35. "action.go",
  36. "archive.go",
  37. "bnj.go",
  38. "dm.go",
  39. "dm_seg.go",
  40. "dm_special.go",
  41. "mask.go",
  42. "service.go",
  43. "subject.go",
  44. "subtitle.go",
  45. "task.go",
  46. "track.go",
  47. "transfer.go",
  48. ],
  49. importpath = "go-common/app/job/main/dm2/service",
  50. tags = ["automanaged"],
  51. visibility = ["//visibility:public"],
  52. deps = [
  53. "//app/job/main/dm2/conf:go_default_library",
  54. "//app/job/main/dm2/dao:go_default_library",
  55. "//app/job/main/dm2/model:go_default_library",
  56. "//app/job/main/dm2/model/oplog:go_default_library",
  57. "//app/service/main/archive/api:go_default_library",
  58. "//app/service/main/archive/api/gorpc:go_default_library",
  59. "//app/service/main/archive/model/archive:go_default_library",
  60. "//app/service/main/filter/api/grpc/v1:go_default_library",
  61. "//app/service/main/seq-server/model:go_default_library",
  62. "//app/service/main/seq-server/rpc/client:go_default_library",
  63. "//library/database/sql:go_default_library",
  64. "//library/ecode:go_default_library",
  65. "//library/log:go_default_library",
  66. "//library/log/infoc:go_default_library",
  67. "//library/net/metadata:go_default_library",
  68. "//library/queue/databus:go_default_library",
  69. "//library/sync/pipeline/fanout:go_default_library",
  70. "//library/time:go_default_library",
  71. "//library/xstr:go_default_library",
  72. ],
  73. )
  74. filegroup(
  75. name = "package-srcs",
  76. srcs = glob(["**"]),
  77. tags = ["automanaged"],
  78. visibility = ["//visibility:private"],
  79. )
  80. filegroup(
  81. name = "all-srcs",
  82. srcs = [":package-srcs"],
  83. tags = ["automanaged"],
  84. visibility = ["//visibility:public"],
  85. )