BUILD 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. "dao_test.go",
  11. "livewallet_test.go",
  12. "paycenter_test.go",
  13. "userext_test.go",
  14. ],
  15. embed = [":go_default_library"],
  16. tags = ["automanaged"],
  17. deps = [
  18. "//app/interface/live/app-room/conf:go_default_library",
  19. "//app/interface/live/app-room/model:go_default_library",
  20. "//library/log:go_default_library",
  21. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  22. ],
  23. )
  24. go_library(
  25. name = "go_default_library",
  26. srcs = [
  27. "api.go",
  28. "dao.go",
  29. "livewallet.go",
  30. "paycenter.go",
  31. "userext.go",
  32. ],
  33. importpath = "go-common/app/interface/live/app-room/dao",
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. deps = [
  37. "//app/interface/live/app-room/conf:go_default_library",
  38. "//app/interface/live/app-room/model:go_default_library",
  39. "//app/service/live/userext/api/liverpc:go_default_library",
  40. "//app/service/live/userext/api/liverpc/v0:go_default_library",
  41. "//app/service/live/xuserex/api/grpc/v1:go_default_library",
  42. "//library/cache:go_default_library",
  43. "//library/ecode:go_default_library",
  44. "//library/log:go_default_library",
  45. "//library/net/http/blademaster:go_default_library",
  46. "//library/net/rpc/liverpc:go_default_library",
  47. "//vendor/github.com/pkg/errors:go_default_library",
  48. ],
  49. )
  50. filegroup(
  51. name = "package-srcs",
  52. srcs = glob(["**"]),
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:private"],
  55. )
  56. filegroup(
  57. name = "all-srcs",
  58. srcs = [
  59. ":package-srcs",
  60. "//app/interface/live/app-room/dao/av:all-srcs",
  61. ],
  62. tags = ["automanaged"],
  63. visibility = ["//visibility:public"],
  64. )