BUILD 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. "archive_test.go",
  11. "auth_role_test.go",
  12. "consumer_test.go",
  13. "dao_test.go",
  14. "manager_test.go",
  15. "oper_test.go",
  16. "report_test.go",
  17. "search_test.go",
  18. "task_dispatch_test.go",
  19. "task_history_test.go",
  20. "task_oper_history_test.go",
  21. "task_qa_test.go",
  22. "task_qa_video_test.go",
  23. "task_review_test.go",
  24. "task_weight_test.go",
  25. "type_test.go",
  26. "up_group_test.go",
  27. "user_test.go",
  28. "video_test.go",
  29. "weight_log_test.go",
  30. ],
  31. embed = [":go_default_library"],
  32. rundir = ".",
  33. tags = ["automanaged"],
  34. deps = [
  35. "//app/admin/main/videoup-task/conf:go_default_library",
  36. "//app/admin/main/videoup-task/model:go_default_library",
  37. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  38. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  39. ],
  40. )
  41. go_library(
  42. name = "go_default_library",
  43. srcs = [
  44. "archive.go",
  45. "auth_role.go",
  46. "consumer.go",
  47. "dao.go",
  48. "manager.go",
  49. "oper.go",
  50. "report.go",
  51. "search.go",
  52. "task_dispatch.go",
  53. "task_history.go",
  54. "task_oper_history.go",
  55. "task_qa.go",
  56. "task_qa_video.go",
  57. "task_review.go",
  58. "task_weight.go",
  59. "type.go",
  60. "up_group.go",
  61. "user.go",
  62. "video.go",
  63. "weight_log.go",
  64. ],
  65. importpath = "go-common/app/admin/main/videoup-task/dao",
  66. tags = ["automanaged"],
  67. visibility = ["//visibility:public"],
  68. deps = [
  69. "//app/admin/main/videoup-task/conf:go_default_library",
  70. "//app/admin/main/videoup-task/model:go_default_library",
  71. "//app/admin/main/videoup/model/archive:go_default_library",
  72. "//app/service/main/account/api:go_default_library",
  73. "//app/service/main/account/model:go_default_library",
  74. "//library/cache/redis:go_default_library",
  75. "//library/database/hbase.v2:go_default_library",
  76. "//library/database/sql:go_default_library",
  77. "//library/ecode:go_default_library",
  78. "//library/log:go_default_library",
  79. "//library/net/http/blademaster:go_default_library",
  80. "//library/stat/prom:go_default_library",
  81. "//library/xstr:go_default_library",
  82. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  83. ],
  84. )
  85. filegroup(
  86. name = "package-srcs",
  87. srcs = glob(["**"]),
  88. tags = ["automanaged"],
  89. visibility = ["//visibility:private"],
  90. )
  91. filegroup(
  92. name = "all-srcs",
  93. srcs = [":package-srcs"],
  94. tags = ["automanaged"],
  95. visibility = ["//visibility:public"],
  96. )