BUILD 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. "addit_test.go",
  11. "archive_oper_test.go",
  12. "archive_recheck_test.go",
  13. "archive_test.go",
  14. "audit_test.go",
  15. "config_test.go",
  16. "dao_test.go",
  17. "flow_design_test.go",
  18. "task_test.go",
  19. "type_test.go",
  20. "video_test.go",
  21. "video_track_test.go",
  22. ],
  23. embed = [":go_default_library"],
  24. rundir = ".",
  25. tags = ["automanaged"],
  26. deps = [
  27. "//app/job/main/videoup-report/conf:go_default_library",
  28. "//app/job/main/videoup-report/model/archive: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. "addit.go",
  36. "archive.go",
  37. "archive_delay.go",
  38. "archive_oper.go",
  39. "archive_recheck.go",
  40. "audit.go",
  41. "config.go",
  42. "dao.go",
  43. "flow_design.go",
  44. "report.go",
  45. "task.go",
  46. "task_consumer.go",
  47. "task_dispatch.go",
  48. "task_dispatch_done.go",
  49. "task_dispatch_extend.go",
  50. "task_json_config.go",
  51. "task_oper_history.go",
  52. "track.go",
  53. "type.go",
  54. "video.go",
  55. "video_track.go",
  56. ],
  57. importpath = "go-common/app/job/main/videoup-report/dao/archive",
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:public"],
  60. deps = [
  61. "//app/job/main/videoup-report/conf:go_default_library",
  62. "//app/job/main/videoup-report/model/archive:go_default_library",
  63. "//app/job/main/videoup-report/model/task:go_default_library",
  64. "//app/job/main/videoup-report/model/utils:go_default_library",
  65. "//library/database/sql:go_default_library",
  66. "//library/log:go_default_library",
  67. "//library/xstr:go_default_library",
  68. "//vendor/github.com/dgryski/go-farm:go_default_library",
  69. ],
  70. )
  71. filegroup(
  72. name = "package-srcs",
  73. srcs = glob(["**"]),
  74. tags = ["automanaged"],
  75. visibility = ["//visibility:private"],
  76. )
  77. filegroup(
  78. name = "all-srcs",
  79. srcs = [":package-srcs"],
  80. tags = ["automanaged"],
  81. visibility = ["//visibility:public"],
  82. )