BUILD 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. "advert_test.go",
  11. "archive_test.go",
  12. "bfs_test.go",
  13. "bigdata_test.go",
  14. "broadcast_test.go",
  15. "dao_test.go",
  16. "databus_test.go",
  17. "mask_test.go",
  18. "mc_filter_test.go",
  19. "mc_limiter_test.go",
  20. "mc_seg_test.go",
  21. "mc_subtitle_test.go",
  22. "mc_test.go",
  23. "mc_wave_form_test.go",
  24. "mysql_advance_test.go",
  25. "mysql_filter_test.go",
  26. "mysql_subtitle_test.go",
  27. "mysql_test.go",
  28. "notify_test.go",
  29. "redis_rct_test.go",
  30. "redis_seg_test.go",
  31. "redis_test.go",
  32. "search_test.go",
  33. "upos_test.go",
  34. "user_log_test.go",
  35. "workflow_test.go",
  36. ],
  37. embed = [":go_default_library"],
  38. tags = ["automanaged"],
  39. deps = [
  40. "//app/interface/main/dm2/conf:go_default_library",
  41. "//app/interface/main/dm2/model:go_default_library",
  42. "//library/log:go_default_library",
  43. "//library/time:go_default_library",
  44. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  45. ],
  46. )
  47. go_library(
  48. name = "go_default_library",
  49. srcs = [
  50. "advert.go",
  51. "archive.go",
  52. "bfs.go",
  53. "bigdata.go",
  54. "broadcast.go",
  55. "dao.go",
  56. "databus.go",
  57. "mask.go",
  58. "mc.go",
  59. "mc_filter.go",
  60. "mc_limiter.go",
  61. "mc_seg.go",
  62. "mc_subtitle.go",
  63. "mc_wave_form.go",
  64. "mysql.go",
  65. "mysql_advance.go",
  66. "mysql_filter.go",
  67. "mysql_subtitle.go",
  68. "notify.go",
  69. "redis.go",
  70. "redis_rct.go",
  71. "redis_seg.go",
  72. "search.go",
  73. "upos.go",
  74. "user_log.go",
  75. "workflow.go",
  76. ],
  77. importpath = "go-common/app/interface/main/dm2/dao",
  78. tags = ["automanaged"],
  79. visibility = ["//visibility:public"],
  80. deps = [
  81. "//app/interface/main/dm2/conf:go_default_library",
  82. "//app/interface/main/dm2/model:go_default_library",
  83. "//app/interface/main/videoup/model/archive:go_default_library",
  84. "//library/cache/memcache:go_default_library",
  85. "//library/cache/redis:go_default_library",
  86. "//library/database/bfs:go_default_library",
  87. "//library/database/elastic:go_default_library",
  88. "//library/database/sql:go_default_library",
  89. "//library/ecode:go_default_library",
  90. "//library/log:go_default_library",
  91. "//library/net/http/blademaster:go_default_library",
  92. "//library/net/metadata:go_default_library",
  93. "//library/queue/databus:go_default_library",
  94. "//library/queue/databus/report:go_default_library",
  95. "//library/stat/prom:go_default_library",
  96. "//library/sync/errgroup:go_default_library",
  97. "//library/time:go_default_library",
  98. "//library/xstr:go_default_library",
  99. "//vendor/github.com/pkg/errors:go_default_library",
  100. ],
  101. )
  102. filegroup(
  103. name = "package-srcs",
  104. srcs = glob(["**"]),
  105. tags = ["automanaged"],
  106. visibility = ["//visibility:private"],
  107. )
  108. filegroup(
  109. name = "all-srcs",
  110. srcs = [":package-srcs"],
  111. tags = ["automanaged"],
  112. visibility = ["//visibility:public"],
  113. )