BUILD 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. "archive_test.go",
  12. "article_test.go",
  13. "coin_test.go",
  14. "dynamic_test.go",
  15. "elec_test.go",
  16. "feedback_test.go",
  17. "help_test.go",
  18. "icon_test.go",
  19. "ip_test.go",
  20. "nav_test.go",
  21. "newlist_test.go",
  22. "online_test.go",
  23. "ranking_test.go",
  24. "resource_test.go",
  25. "search_test.go",
  26. "tag_test.go",
  27. ],
  28. embed = [":go_default_library"],
  29. rundir = ".",
  30. tags = ["automanaged"],
  31. deps = [
  32. "//app/interface/main/web/conf:go_default_library",
  33. "//app/interface/main/web/model:go_default_library",
  34. "//app/service/main/resource/model:go_default_library",
  35. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  36. ],
  37. )
  38. go_library(
  39. name = "go_default_library",
  40. srcs = [
  41. "account.go",
  42. "archive.go",
  43. "article.go",
  44. "bnj.go",
  45. "broadcast.go",
  46. "coin.go",
  47. "dynamic.go",
  48. "elec.go",
  49. "feedback.go",
  50. "help.go",
  51. "icon.go",
  52. "ip.go",
  53. "like.go",
  54. "nav.go",
  55. "newlist.go",
  56. "online.go",
  57. "ranking.go",
  58. "resource.go",
  59. "search.go",
  60. "service.go",
  61. "tag.go",
  62. "wechat.go",
  63. ],
  64. importpath = "go-common/app/interface/main/web/service",
  65. tags = ["automanaged"],
  66. deps = [
  67. "//app/interface/main/dm2/model:go_default_library",
  68. "//app/interface/main/dm2/rpc/client:go_default_library",
  69. "//app/interface/main/tag/model:go_default_library",
  70. "//app/interface/main/tag/rpc/client:go_default_library",
  71. "//app/interface/main/web/conf:go_default_library",
  72. "//app/interface/main/web/dao:go_default_library",
  73. "//app/interface/main/web/model:go_default_library",
  74. "//app/interface/openplatform/article/model:go_default_library",
  75. "//app/interface/openplatform/article/rpc/client:go_default_library",
  76. "//app/service/main/account/api:go_default_library",
  77. "//app/service/main/account/model:go_default_library",
  78. "//app/service/main/archive/api:go_default_library",
  79. "//app/service/main/archive/api/gorpc:go_default_library",
  80. "//app/service/main/archive/model/archive:go_default_library",
  81. "//app/service/main/broadcast/api/grpc/v1:go_default_library",
  82. "//app/service/main/coin/api:go_default_library",
  83. "//app/service/main/coupon/model:go_default_library",
  84. "//app/service/main/coupon/rpc/client:go_default_library",
  85. "//app/service/main/dynamic/model:go_default_library",
  86. "//app/service/main/dynamic/rpc/client:go_default_library",
  87. "//app/service/main/favorite/api/gorpc:go_default_library",
  88. "//app/service/main/favorite/model:go_default_library",
  89. "//app/service/main/location/model:go_default_library",
  90. "//app/service/main/location/rpc/client:go_default_library",
  91. "//app/service/main/relation/model:go_default_library",
  92. "//app/service/main/relation/rpc/client:go_default_library",
  93. "//app/service/main/resource/model:go_default_library",
  94. "//app/service/main/resource/rpc/client:go_default_library",
  95. "//app/service/main/share/api:go_default_library",
  96. "//app/service/main/thumbup/model:go_default_library",
  97. "//app/service/main/thumbup/rpc/client:go_default_library",
  98. "//app/service/main/ugcpay/api/grpc/v1:go_default_library",
  99. "//library/conf/env:go_default_library",
  100. "//library/ecode:go_default_library",
  101. "//library/log:go_default_library",
  102. "//library/log/anticheat:go_default_library",
  103. "//library/log/infoc:go_default_library",
  104. "//library/net/metadata:go_default_library",
  105. "//library/sync/errgroup:go_default_library",
  106. "//library/sync/pipeline/fanout:go_default_library",
  107. ],
  108. )
  109. filegroup(
  110. name = "package-srcs",
  111. srcs = glob(["**"]),
  112. tags = ["automanaged"],
  113. visibility = ["//visibility:private"],
  114. )
  115. filegroup(
  116. name = "all-srcs",
  117. srcs = [":package-srcs"],
  118. tags = ["automanaged"],
  119. visibility = ["//visibility:public"],
  120. )
  121. load(
  122. "@io_bazel_rules_go//go:def.bzl",
  123. "go_test",
  124. "go_library",
  125. )