BUILD 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 = [
  9. "archive_test.go",
  10. "extra_func_test.go",
  11. "flow_test.go",
  12. "history_test.go",
  13. "monitor_test.go",
  14. "pgc_test.go",
  15. "search_test.go",
  16. "service_test.go",
  17. "task_qa_video_test.go",
  18. "task_test.go",
  19. "track_test.go",
  20. "util_test.go",
  21. "video_test.go",
  22. ],
  23. embed = [":go_default_library"],
  24. tags = ["automanaged"],
  25. deps = [
  26. "//app/admin/main/videoup/conf:go_default_library",
  27. "//app/admin/main/videoup/model/archive:go_default_library",
  28. "//app/admin/main/videoup/model/monitor:go_default_library",
  29. "//app/admin/main/videoup/model/search:go_default_library",
  30. "//app/admin/main/videoup/model/utils:go_default_library",
  31. "//library/net/http/blademaster:go_default_library",
  32. "//library/queue/databus/report:go_default_library",
  33. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  34. ],
  35. )
  36. go_library(
  37. name = "go_default_library",
  38. srcs = [
  39. "archive.go",
  40. "databus.go",
  41. "extra_func.go",
  42. "flow.go",
  43. "history.go",
  44. "log.go",
  45. "monitor.go",
  46. "mult_sync.go",
  47. "oper.go",
  48. "oversea.go",
  49. "pgc.go",
  50. "porder.go",
  51. "search.go",
  52. "service.go",
  53. "staff.go",
  54. "stats.go",
  55. "task.go",
  56. "task_consumer.go",
  57. "task_dispatch.go",
  58. "task_qa_video.go",
  59. "task_role.go",
  60. "task_weight.go",
  61. "track.go",
  62. "tx.go",
  63. "util.go",
  64. "video.go",
  65. ],
  66. importpath = "go-common/app/admin/main/videoup/service",
  67. tags = ["automanaged"],
  68. visibility = ["//visibility:public"],
  69. deps = [
  70. "//app/admin/main/videoup/conf:go_default_library",
  71. "//app/admin/main/videoup/dao/archive:go_default_library",
  72. "//app/admin/main/videoup/dao/data:go_default_library",
  73. "//app/admin/main/videoup/dao/databus:go_default_library",
  74. "//app/admin/main/videoup/dao/manager:go_default_library",
  75. "//app/admin/main/videoup/dao/monitor:go_default_library",
  76. "//app/admin/main/videoup/dao/music:go_default_library",
  77. "//app/admin/main/videoup/dao/oversea:go_default_library",
  78. "//app/admin/main/videoup/dao/search:go_default_library",
  79. "//app/admin/main/videoup/dao/staff:go_default_library",
  80. "//app/admin/main/videoup/dao/tag:go_default_library",
  81. "//app/admin/main/videoup/dao/task:go_default_library",
  82. "//app/admin/main/videoup/dao/track:go_default_library",
  83. "//app/admin/main/videoup/model/archive:go_default_library",
  84. "//app/admin/main/videoup/model/manager:go_default_library",
  85. "//app/admin/main/videoup/model/message:go_default_library",
  86. "//app/admin/main/videoup/model/monitor:go_default_library",
  87. "//app/admin/main/videoup/model/music:go_default_library",
  88. "//app/admin/main/videoup/model/oversea:go_default_library",
  89. "//app/admin/main/videoup/model/search:go_default_library",
  90. "//app/admin/main/videoup/model/track:go_default_library",
  91. "//app/admin/main/videoup/model/up:go_default_library",
  92. "//app/admin/main/videoup/model/utils:go_default_library",
  93. "//app/interface/main/tag/model:go_default_library",
  94. "//app/service/main/account/api:go_default_library",
  95. "//app/service/main/up/api/v1:go_default_library",
  96. "//library/database/elastic:go_default_library",
  97. "//library/database/sql:go_default_library",
  98. "//library/ecode:go_default_library",
  99. "//library/log:go_default_library",
  100. "//library/net/http/blademaster:go_default_library",
  101. "//library/net/http/blademaster/middleware/permit:go_default_library",
  102. "//library/queue/databus:go_default_library",
  103. "//library/queue/databus/report:go_default_library",
  104. "//library/sync/errgroup:go_default_library",
  105. "//library/time:go_default_library",
  106. "//library/xstr:go_default_library",
  107. "//vendor/github.com/jinzhu/gorm:go_default_library",
  108. "//vendor/github.com/pkg/errors:go_default_library",
  109. ],
  110. )
  111. filegroup(
  112. name = "package-srcs",
  113. srcs = glob(["**"]),
  114. tags = ["automanaged"],
  115. visibility = ["//visibility:private"],
  116. )
  117. filegroup(
  118. name = "all-srcs",
  119. srcs = [":package-srcs"],
  120. tags = ["automanaged"],
  121. visibility = ["//visibility:public"],
  122. )