BUILD 879 B

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