BUILD 755 B

1234567891011121314151617181920212223242526272829303132
  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 = ["cache.go"],
  9. importpath = "go-common/app/service/ops/log-agent/output/cache",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = ["//app/service/ops/log-agent/event:go_default_library"],
  13. )
  14. filegroup(
  15. name = "package-srcs",
  16. srcs = glob(["**"]),
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:private"],
  19. )
  20. filegroup(
  21. name = "all-srcs",
  22. srcs = [
  23. ":package-srcs",
  24. "//app/service/ops/log-agent/output/cache/file:all-srcs",
  25. ],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )