BUILD 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "condrule.go",
  10. "is_black.go",
  11. "onlinelist.go",
  12. "reccache.go",
  13. "rediskey.go",
  14. "rule.go",
  15. "service.go",
  16. "sort.go",
  17. ],
  18. importpath = "go-common/app/job/live/xroom-feed/internal/service",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/job/live/xroom-feed/internal/dao:go_default_library",
  23. "//app/job/live/xroom-feed/internal/model:go_default_library",
  24. "//app/service/live/dao-anchor/api/grpc/v1:go_default_library",
  25. "//app/service/live/room/api/liverpc:go_default_library",
  26. "//app/service/live/room/api/liverpc/v1:go_default_library",
  27. "//library/conf/env:go_default_library",
  28. "//library/conf/paladin:go_default_library",
  29. "//library/log:go_default_library",
  30. "//library/net/metadata:go_default_library",
  31. "//library/net/rpc/liverpc:go_default_library",
  32. "//library/net/rpc/warden:go_default_library",
  33. "//library/sync/errgroup:go_default_library",
  34. "//library/time:go_default_library",
  35. "//library/xstr:go_default_library",
  36. ],
  37. )
  38. filegroup(
  39. name = "package-srcs",
  40. srcs = glob(["**"]),
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:private"],
  43. )
  44. filegroup(
  45. name = "all-srcs",
  46. srcs = [":package-srcs"],
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. )