BUILD 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. "account_test.go",
  11. "album_test.go",
  12. "archive_test.go",
  13. "audio_test.go",
  14. "bangumi_test.go",
  15. "blacklist_test.go",
  16. "bplus_test.go",
  17. "channel_redis_test.go",
  18. "dao.cache_test.go",
  19. "dao_test.go",
  20. "elec_test.go",
  21. "fav_test.go",
  22. "game_test.go",
  23. "hbase_test.go",
  24. "index_order_test.go",
  25. "live_test.go",
  26. "masterpiece_test.go",
  27. "mc.cache_test.go",
  28. "mysql_test.go",
  29. "notice_test.go",
  30. "privacy_test.go",
  31. "redis_test.go",
  32. "shop_test.go",
  33. "tag_test.go",
  34. "theme_test.go",
  35. "top_arc_test.go",
  36. "top_dy_test.go",
  37. "top_photo_test.go",
  38. ],
  39. embed = [":go_default_library"],
  40. rundir = ".",
  41. tags = ["automanaged"],
  42. deps = [
  43. "//app/interface/main/space/conf:go_default_library",
  44. "//app/interface/main/space/model:go_default_library",
  45. "//library/ecode:go_default_library",
  46. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  47. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  48. ],
  49. )
  50. go_library(
  51. name = "go_default_library",
  52. srcs = [
  53. "account.go",
  54. "album.go",
  55. "archive.go",
  56. "audio.go",
  57. "bangumi.go",
  58. "blacklist.go",
  59. "bplus.go",
  60. "cache.go",
  61. "channel_redis.go",
  62. "dao.cache.go",
  63. "dao.go",
  64. "elec.go",
  65. "fav.go",
  66. "game.go",
  67. "hbase.go",
  68. "index_order.go",
  69. "live.go",
  70. "masterpiece.go",
  71. "mc.cache.go",
  72. "mysql.go",
  73. "notice.go",
  74. "privacy.go",
  75. "redis.go",
  76. "shop.go",
  77. "tag.go",
  78. "theme.go",
  79. "top_arc.go",
  80. "top_dy.go",
  81. "top_photo.go",
  82. ],
  83. importpath = "go-common/app/interface/main/space/dao",
  84. tags = ["automanaged"],
  85. deps = [
  86. "//app/interface/main/space/conf:go_default_library",
  87. "//app/interface/main/space/model:go_default_library",
  88. "//app/service/main/favorite/model:go_default_library",
  89. "//library/cache/memcache:go_default_library",
  90. "//library/cache/redis:go_default_library",
  91. "//library/database/hbase.v2:go_default_library",
  92. "//library/database/sql:go_default_library",
  93. "//library/ecode:go_default_library",
  94. "//library/log:go_default_library",
  95. "//library/net/http/blademaster:go_default_library",
  96. "//library/net/metadata:go_default_library",
  97. "//library/stat/prom:go_default_library",
  98. "//library/sync/pipeline/fanout:go_default_library",
  99. "//library/xstr:go_default_library",
  100. "//vendor/github.com/pkg/errors:go_default_library",
  101. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  102. ],
  103. )
  104. filegroup(
  105. name = "package-srcs",
  106. srcs = glob(["**"]),
  107. tags = ["automanaged"],
  108. visibility = ["//visibility:private"],
  109. )
  110. filegroup(
  111. name = "all-srcs",
  112. srcs = [":package-srcs"],
  113. tags = ["automanaged"],
  114. visibility = ["//visibility:public"],
  115. )
  116. load(
  117. "@io_bazel_rules_go//go:def.bzl",
  118. "go_test",
  119. "go_library",
  120. )