BUILD 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 = ["dao.go"],
  9. importpath = "go-common/app/interface/live/web-ucenter/dao",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//app/interface/live/web-ucenter/conf:go_default_library",
  14. "//app/service/live/rankdb/api/liverpc:go_default_library",
  15. "//app/service/live/rc/api/liverpc:go_default_library",
  16. "//app/service/live/room/api/liverpc:go_default_library",
  17. "//library/net/rpc/liverpc:go_default_library",
  18. ],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [
  29. ":package-srcs",
  30. "//app/interface/live/web-ucenter/dao/capsule:all-srcs",
  31. "//app/interface/live/web-ucenter/dao/history:all-srcs",
  32. "//app/interface/live/web-ucenter/dao/user:all-srcs",
  33. ],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )