BUILD 5.1 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. "infoc_test.go",
  11. "service_test.go",
  12. "view_test.go",
  13. ],
  14. embed = [":go_default_library"],
  15. rundir = ".",
  16. tags = ["automanaged"],
  17. deps = [
  18. "//app/interface/main/app-view/conf:go_default_library",
  19. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  20. ],
  21. )
  22. go_library(
  23. name = "go_default_library",
  24. srcs = [
  25. "access.go",
  26. "bnj.go",
  27. "contain.go",
  28. "infoc.go",
  29. "search.go",
  30. "service.go",
  31. "view.go",
  32. ],
  33. importpath = "go-common/app/interface/main/app-view/service/view",
  34. tags = ["automanaged"],
  35. deps = [
  36. "//app/interface/main/app-card/model:go_default_library",
  37. "//app/interface/main/app-card/model/card:go_default_library",
  38. "//app/interface/main/app-card/model/card/operate:go_default_library",
  39. "//app/interface/main/app-view/conf:go_default_library",
  40. "//app/interface/main/app-view/dao/account:go_default_library",
  41. "//app/interface/main/app-view/dao/act:go_default_library",
  42. "//app/interface/main/app-view/dao/ad:go_default_library",
  43. "//app/interface/main/app-view/dao/ai:go_default_library",
  44. "//app/interface/main/app-view/dao/archive:go_default_library",
  45. "//app/interface/main/app-view/dao/assist:go_default_library",
  46. "//app/interface/main/app-view/dao/audio:go_default_library",
  47. "//app/interface/main/app-view/dao/bangumi:go_default_library",
  48. "//app/interface/main/app-view/dao/coin:go_default_library",
  49. "//app/interface/main/app-view/dao/creative:go_default_library",
  50. "//app/interface/main/app-view/dao/dm:go_default_library",
  51. "//app/interface/main/app-view/dao/elec:go_default_library",
  52. "//app/interface/main/app-view/dao/favorite:go_default_library",
  53. "//app/interface/main/app-view/dao/game:go_default_library",
  54. "//app/interface/main/app-view/dao/live:go_default_library",
  55. "//app/interface/main/app-view/dao/location:go_default_library",
  56. "//app/interface/main/app-view/dao/manager:go_default_library",
  57. "//app/interface/main/app-view/dao/region:go_default_library",
  58. "//app/interface/main/app-view/dao/relation:go_default_library",
  59. "//app/interface/main/app-view/dao/resource:go_default_library",
  60. "//app/interface/main/app-view/dao/search:go_default_library",
  61. "//app/interface/main/app-view/dao/special:go_default_library",
  62. "//app/interface/main/app-view/dao/tag:go_default_library",
  63. "//app/interface/main/app-view/dao/thumbup:go_default_library",
  64. "//app/interface/main/app-view/dao/ugcpay:go_default_library",
  65. "//app/interface/main/app-view/dao/vip:go_default_library",
  66. "//app/interface/main/app-view/model:go_default_library",
  67. "//app/interface/main/app-view/model/ad:go_default_library",
  68. "//app/interface/main/app-view/model/bangumi:go_default_library",
  69. "//app/interface/main/app-view/model/creative:go_default_library",
  70. "//app/interface/main/app-view/model/elec:go_default_library",
  71. "//app/interface/main/app-view/model/game:go_default_library",
  72. "//app/interface/main/app-view/model/live:go_default_library",
  73. "//app/interface/main/app-view/model/manager:go_default_library",
  74. "//app/interface/main/app-view/model/region:go_default_library",
  75. "//app/interface/main/app-view/model/special:go_default_library",
  76. "//app/interface/main/app-view/model/tag:go_default_library",
  77. "//app/interface/main/app-view/model/view:go_default_library",
  78. "//app/service/main/account/model:go_default_library",
  79. "//app/service/main/archive/api:go_default_library",
  80. "//app/service/main/archive/model/archive:go_default_library",
  81. "//app/service/main/location/model:go_default_library",
  82. "//app/service/main/relation/model:go_default_library",
  83. "//app/service/main/resource/model:go_default_library",
  84. "//app/service/main/share/api:go_default_library",
  85. "//app/service/main/thumbup/api:go_default_library",
  86. "//app/service/main/thumbup/model:go_default_library",
  87. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  88. "//library/conf/env:go_default_library",
  89. "//library/ecode:go_default_library",
  90. "//library/log:go_default_library",
  91. "//library/log/infoc:go_default_library",
  92. "//library/net/metadata:go_default_library",
  93. "//library/stat/prom:go_default_library",
  94. "//library/sync/errgroup:go_default_library",
  95. "//library/sync/errgroup.v2:go_default_library",
  96. "//vendor/github.com/pkg/errors: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. )