BUILD 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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_test.go",
  12. "config_test.go",
  13. "dao_test.go",
  14. "delay_test.go",
  15. "first_pass_test.go",
  16. "flow_test.go",
  17. "forbid_test.go",
  18. "hbase_test.go",
  19. "history_test.go",
  20. "mosaic_test.go",
  21. "new_video_test.go",
  22. "oper_test.go",
  23. "porder_test.go",
  24. "recheck_test.go",
  25. "stats_test.go",
  26. "tag_test.go",
  27. "task_consumer_test.go",
  28. "task_dispatch_test.go",
  29. "task_state_test.go",
  30. "task_test.go",
  31. "task_weight_config_test.go",
  32. "type_test.go",
  33. "user_card_test.go",
  34. "video_test.go",
  35. "watermark_test.go",
  36. ],
  37. embed = [":go_default_library"],
  38. rundir = ".",
  39. tags = ["automanaged"],
  40. deps = [
  41. "//app/admin/main/videoup/conf:go_default_library",
  42. "//app/admin/main/videoup/model/archive:go_default_library",
  43. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  44. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  45. ],
  46. )
  47. go_library(
  48. name = "go_default_library",
  49. srcs = [
  50. "addit.go",
  51. "archive.go",
  52. "config.go",
  53. "dao.go",
  54. "delay.go",
  55. "first_pass.go",
  56. "flow.go",
  57. "forbid.go",
  58. "hbase.go",
  59. "history.go",
  60. "mosaic.go",
  61. "new_video.go",
  62. "oper.go",
  63. "porder.go",
  64. "recheck.go",
  65. "redis.go",
  66. "stats.go",
  67. "tag.go",
  68. "task.go",
  69. "task_consumer.go",
  70. "task_dispatch.go",
  71. "task_oper_history.go",
  72. "task_qa_video.go",
  73. "task_state.go",
  74. "task_weight_config.go",
  75. "type.go",
  76. "user_card.go",
  77. "video.go",
  78. "video_audit.go",
  79. "video_history.go",
  80. "watermark.go",
  81. ],
  82. importpath = "go-common/app/admin/main/videoup/dao/archive",
  83. tags = ["automanaged"],
  84. visibility = ["//visibility:public"],
  85. deps = [
  86. "//app/admin/main/videoup/conf:go_default_library",
  87. "//app/admin/main/videoup/model/archive:go_default_library",
  88. "//app/admin/main/videoup/model/utils:go_default_library",
  89. "//library/cache/redis:go_default_library",
  90. "//library/database/hbase.v2:go_default_library",
  91. "//library/database/sql:go_default_library",
  92. "//library/log:go_default_library",
  93. "//library/net/http/blademaster:go_default_library",
  94. "//library/time:go_default_library",
  95. "//library/xstr:go_default_library",
  96. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  97. ],
  98. )
  99. filegroup(
  100. name = "package-srcs",
  101. srcs = glob(["**"]),
  102. tags = ["automanaged"],
  103. visibility = ["//visibility:private"],
  104. )
  105. filegroup(
  106. name = "all-srcs",
  107. srcs = [":package-srcs"],
  108. tags = ["automanaged"],
  109. visibility = ["//visibility:public"],
  110. )