BUILD 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_test",
  4. "go_library",
  5. )
  6. go_test(
  7. name = "go_default_test",
  8. srcs = [
  9. "gift_test.go",
  10. "service_test.go",
  11. ],
  12. embed = [":go_default_library"],
  13. tags = ["automanaged"],
  14. deps = [
  15. "//app/interface/live/app-room/api/http/v1:go_default_library",
  16. "//app/interface/live/app-room/conf:go_default_library",
  17. "//app/interface/live/app-room/model:go_default_library",
  18. "//library/log:go_default_library",
  19. "//library/net/metadata:go_default_library",
  20. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  21. ],
  22. )
  23. go_library(
  24. name = "go_default_library",
  25. srcs = [
  26. "banner.go",
  27. "gift.go",
  28. "roomNotice.go",
  29. ],
  30. importpath = "go-common/app/interface/live/app-room/service/v1",
  31. tags = ["automanaged"],
  32. visibility = ["//visibility:public"],
  33. deps = [
  34. "//app/interface/live/app-room/api/http/v1:go_default_library",
  35. "//app/interface/live/app-room/conf:go_default_library",
  36. "//app/interface/live/app-room/dao:go_default_library",
  37. "//app/interface/live/app-room/model:go_default_library",
  38. "//app/service/live/gift/api/grpc/v1:go_default_library",
  39. "//app/service/live/resource/api/grpc/v1:go_default_library",
  40. "//app/service/live/xuserex/api/grpc/v1:go_default_library",
  41. "//library/ecode:go_default_library",
  42. "//library/log:go_default_library",
  43. "//library/net/http/blademaster:go_default_library",
  44. "//library/net/metadata:go_default_library",
  45. "//library/sync/errgroup:go_default_library",
  46. ],
  47. )
  48. filegroup(
  49. name = "package-srcs",
  50. srcs = glob(["**"]),
  51. tags = ["automanaged"],
  52. visibility = ["//visibility:private"],
  53. )
  54. filegroup(
  55. name = "all-srcs",
  56. srcs = [
  57. ":package-srcs",
  58. "//app/interface/live/app-room/service/v1/dm:all-srcs",
  59. ],
  60. tags = ["automanaged"],
  61. visibility = ["//visibility:public"],
  62. )