BUILD 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "banner.go",
  11. "capsule.go",
  12. "gaea.go",
  13. "payGoods.go",
  14. "payLive.go",
  15. "resource.go",
  16. "roomMng.go",
  17. "splash.go",
  18. "token.go",
  19. "upload.go",
  20. ],
  21. importpath = "go-common/app/admin/live/live-admin/service/v1",
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. deps = [
  25. "//app/admin/live/live-admin/api/http/v1:go_default_library",
  26. "//app/admin/live/live-admin/conf:go_default_library",
  27. "//app/admin/live/live-admin/dao:go_default_library",
  28. "//app/admin/live/live-admin/model:go_default_library",
  29. "//app/service/live/av/api/liverpc/v0:go_default_library",
  30. "//app/service/live/relation/api/liverpc/v1:go_default_library",
  31. "//app/service/live/resource/api/grpc/v1:go_default_library",
  32. "//app/service/live/room/api/liverpc:go_default_library",
  33. "//app/service/live/room/api/liverpc/v1:go_default_library",
  34. "//app/service/live/xlottery/api/grpc/v1:go_default_library",
  35. "//app/service/video/stream-mng/api/v1:go_default_library",
  36. "//library/database/bfs:go_default_library",
  37. "//library/ecode:go_default_library",
  38. "//library/log:go_default_library",
  39. "//library/net/http/blademaster:go_default_library",
  40. "//library/sync/errgroup:go_default_library",
  41. "@org_golang_google_grpc//status:go_default_library",
  42. ],
  43. )
  44. filegroup(
  45. name = "package-srcs",
  46. srcs = glob(["**"]),
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:private"],
  49. )
  50. filegroup(
  51. name = "all-srcs",
  52. srcs = [":package-srcs"],
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:public"],
  55. )
  56. go_test(
  57. name = "go_default_test",
  58. srcs = ["token_test.go"],
  59. embed = [":go_default_library"],
  60. tags = ["automanaged"],
  61. deps = [
  62. "//app/admin/live/live-admin/api/http/v1:go_default_library",
  63. "//app/admin/live/live-admin/conf:go_default_library",
  64. "//app/admin/live/live-admin/dao:go_default_library",
  65. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  66. ],
  67. )