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