BUILD 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. "doc.go",
  11. "index.go",
  12. "relation.go",
  13. ],
  14. importpath = "go-common/app/interface/live/app-interface/service/v1",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/interface/live/app-interface/api/http/v1:go_default_library",
  19. "//app/interface/live/app-interface/conf:go_default_library",
  20. "//app/interface/live/app-interface/dao:go_default_library",
  21. "//app/interface/live/app-interface/service/v1/relation:go_default_library",
  22. "//app/service/live/av/api/liverpc/v1:go_default_library",
  23. "//app/service/live/live_user/api/liverpc/v1:go_default_library",
  24. "//app/service/live/relation/api/liverpc/v1:go_default_library",
  25. "//app/service/live/relation/api/liverpc/v2:go_default_library",
  26. "//app/service/live/room/api/liverpc/v1:go_default_library",
  27. "//app/service/live/room/api/liverpc/v2:go_default_library",
  28. "//app/service/live/room_ex/api/liverpc/v1:go_default_library",
  29. "//app/service/live/third_api/bvc:go_default_library",
  30. "//app/service/live/userext/api/liverpc/v1:go_default_library",
  31. "//app/service/main/account/model:go_default_library",
  32. "//app/service/main/account/rpc/client:go_default_library",
  33. "//library/ecode:go_default_library",
  34. "//library/log:go_default_library",
  35. "//library/net/http/blademaster:go_default_library",
  36. "//library/net/metadata:go_default_library",
  37. "//library/net/rpc/liverpc:go_default_library",
  38. "//library/net/rpc/liverpc/context:go_default_library",
  39. "//library/sync/errgroup:go_default_library",
  40. "//library/xstr:go_default_library",
  41. "//vendor/github.com/bitly/go-simplejson:go_default_library",
  42. "//vendor/github.com/pkg/errors:go_default_library",
  43. ],
  44. )
  45. filegroup(
  46. name = "package-srcs",
  47. srcs = glob(["**"]),
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:private"],
  50. )
  51. filegroup(
  52. name = "all-srcs",
  53. srcs = [
  54. ":package-srcs",
  55. "//app/interface/live/app-interface/service/v1/app_conf:all-srcs",
  56. "//app/interface/live/app-interface/service/v1/relation:all-srcs",
  57. ],
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:public"],
  60. )
  61. go_test(
  62. name = "go_default_test",
  63. srcs = ["index_test.go"],
  64. embed = [":go_default_library"],
  65. tags = ["automanaged"],
  66. deps = [
  67. "//app/interface/live/app-interface/api/http/v1:go_default_library",
  68. "//app/interface/live/app-interface/conf:go_default_library",
  69. "//library/net/http/blademaster:go_default_library",
  70. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  71. ],
  72. )