BUILD 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. "AppRelationFilterStrategy.go",
  10. "AppRelationSortStrategy.go",
  11. "Tools.go",
  12. "rpcWraper.go",
  13. ],
  14. importpath = "go-common/app/interface/live/app-interface/service/v1/relation",
  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/service/live/av/api/liverpc/v1:go_default_library",
  22. "//app/service/live/fans_medal/api/liverpc/v1:go_default_library",
  23. "//app/service/live/live_data/api/liverpc/v1:go_default_library",
  24. "//app/service/live/relation/api/liverpc/v1:go_default_library",
  25. "//app/service/live/room/api/liverpc/v1:go_default_library",
  26. "//app/service/live/room/api/liverpc/v2:go_default_library",
  27. "//app/service/live/room_ex/api/liverpc/v1:go_default_library",
  28. "//app/service/live/userext/api/liverpc/v1:go_default_library",
  29. "//library/ecode:go_default_library",
  30. "//library/log:go_default_library",
  31. "//library/net/metadata:go_default_library",
  32. "//library/net/rpc/liverpc/context:go_default_library",
  33. "//library/sync/errgroup:go_default_library",
  34. "//vendor/github.com/pkg/errors:go_default_library",
  35. ],
  36. )
  37. filegroup(
  38. name = "package-srcs",
  39. srcs = glob(["**"]),
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:private"],
  42. )
  43. filegroup(
  44. name = "all-srcs",
  45. srcs = [":package-srcs"],
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. )