BUILD 1.3 KB

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