BUILD 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "api.go",
  10. "dao.go",
  11. ],
  12. importpath = "go-common/app/interface/live/app-interface/dao",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/interface/live/app-interface/conf:go_default_library",
  17. "//app/service/live/av/api/liverpc:go_default_library",
  18. "//app/service/live/fans_medal/api/liverpc:go_default_library",
  19. "//app/service/live/live_data/api/liverpc:go_default_library",
  20. "//app/service/live/live_user/api/liverpc:go_default_library",
  21. "//app/service/live/rankdb/api/liverpc:go_default_library",
  22. "//app/service/live/relation/api/liverpc:go_default_library",
  23. "//app/service/live/room/api/liverpc:go_default_library",
  24. "//app/service/live/room_ex/api/liverpc:go_default_library",
  25. "//app/service/live/third_api/bvc:go_default_library",
  26. "//app/service/live/third_api/skyhorse:go_default_library",
  27. "//app/service/live/userext/api/liverpc:go_default_library",
  28. "//app/service/live/xuser/api/grpc/v1:go_default_library",
  29. "//library/net/rpc/liverpc:go_default_library",
  30. ],
  31. )
  32. filegroup(
  33. name = "package-srcs",
  34. srcs = glob(["**"]),
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:private"],
  37. )
  38. filegroup(
  39. name = "all-srcs",
  40. srcs = [
  41. ":package-srcs",
  42. "//app/interface/live/app-interface/dao/account:all-srcs",
  43. "//app/interface/live/app-interface/dao/av:all-srcs",
  44. "//app/interface/live/app-interface/dao/fans_medal:all-srcs",
  45. "//app/interface/live/app-interface/dao/live_data:all-srcs",
  46. "//app/interface/live/app-interface/dao/live_user:all-srcs",
  47. "//app/interface/live/app-interface/dao/rankdb:all-srcs",
  48. "//app/interface/live/app-interface/dao/relation:all-srcs",
  49. "//app/interface/live/app-interface/dao/room:all-srcs",
  50. "//app/interface/live/app-interface/dao/room_ex:all-srcs",
  51. "//app/interface/live/app-interface/dao/user_ext:all-srcs",
  52. "//app/interface/live/app-interface/dao/xuser:all-srcs",
  53. ],
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:public"],
  56. )