BUILD 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. "conf.go",
  10. "output.go",
  11. ],
  12. importpath = "go-common/app/service/ops/log-agent/output",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/service/ops/log-agent/conf/configcenter:go_default_library",
  17. "//app/service/ops/log-agent/event:go_default_library",
  18. "//library/log:go_default_library",
  19. "//vendor/github.com/BurntSushi/toml:go_default_library",
  20. ],
  21. )
  22. filegroup(
  23. name = "package-srcs",
  24. srcs = glob(["**"]),
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:private"],
  27. )
  28. filegroup(
  29. name = "all-srcs",
  30. srcs = [
  31. ":package-srcs",
  32. "//app/service/ops/log-agent/output/cache:all-srcs",
  33. "//app/service/ops/log-agent/output/lancergrpc:all-srcs",
  34. "//app/service/ops/log-agent/output/lancerlogstream:all-srcs",
  35. "//app/service/ops/log-agent/output/stdout:all-srcs",
  36. ],
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:public"],
  39. )