BUILD 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. "app_info_test.go",
  11. "notice_test.go",
  12. "remotelogin_test.go",
  13. "reply_test.go",
  14. "service_test.go",
  15. "web_info_test.go",
  16. ],
  17. embed = [":go_default_library"],
  18. rundir = ".",
  19. tags = ["automanaged"],
  20. deps = [
  21. "//app/interface/main/account/conf:go_default_library",
  22. "//app/interface/main/account/model:go_default_library",
  23. "//app/service/main/secure/model:go_default_library",
  24. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  25. ],
  26. )
  27. go_library(
  28. name = "go_default_library",
  29. srcs = [
  30. "app_info.go",
  31. "medal.go",
  32. "member.go",
  33. "notice.go",
  34. "remotelogin.go",
  35. "reply.go",
  36. "service.go",
  37. "sudo.go",
  38. "web_info.go",
  39. ],
  40. importpath = "go-common/app/interface/main/account/service/member",
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. deps = [
  44. "//app/interface/main/account/conf:go_default_library",
  45. "//app/interface/main/account/dao/account:go_default_library",
  46. "//app/interface/main/account/dao/passport:go_default_library",
  47. "//app/interface/main/account/dao/reply:go_default_library",
  48. "//app/interface/main/account/model:go_default_library",
  49. "//app/interface/openplatform/article/model:go_default_library",
  50. "//app/interface/openplatform/article/rpc/client:go_default_library",
  51. "//app/service/main/account/model:go_default_library",
  52. "//app/service/main/account/rpc/client:go_default_library",
  53. "//app/service/main/archive/api:go_default_library",
  54. "//app/service/main/archive/api/gorpc:go_default_library",
  55. "//app/service/main/archive/model/archive:go_default_library",
  56. "//app/service/main/coin/api/gorpc:go_default_library",
  57. "//app/service/main/coin/model:go_default_library",
  58. "//app/service/main/filter/model/rpc:go_default_library",
  59. "//app/service/main/filter/rpc/client:go_default_library",
  60. "//app/service/main/location/model:go_default_library",
  61. "//app/service/main/location/rpc/client:go_default_library",
  62. "//app/service/main/member/api/gorpc:go_default_library",
  63. "//app/service/main/member/model:go_default_library",
  64. "//app/service/main/passport/model:go_default_library",
  65. "//app/service/main/passport/rpc/client:go_default_library",
  66. "//app/service/main/secure/model:go_default_library",
  67. "//app/service/main/secure/rpc/client:go_default_library",
  68. "//app/service/main/up/api/gorpc:go_default_library",
  69. "//app/service/main/usersuit/model:go_default_library",
  70. "//app/service/main/usersuit/rpc/client:go_default_library",
  71. "//library/ecode:go_default_library",
  72. "//library/log:go_default_library",
  73. "//library/net/metadata:go_default_library",
  74. "//library/queue/databus:go_default_library",
  75. "//library/queue/databus/report:go_default_library",
  76. "//library/time:go_default_library",
  77. "//vendor/github.com/pkg/errors:go_default_library",
  78. ],
  79. )
  80. filegroup(
  81. name = "package-srcs",
  82. srcs = glob(["**"]),
  83. tags = ["automanaged"],
  84. visibility = ["//visibility:private"],
  85. )
  86. filegroup(
  87. name = "all-srcs",
  88. srcs = [":package-srcs"],
  89. tags = ["automanaged"],
  90. visibility = ["//visibility:public"],
  91. )