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 = ["stat.go"],
  9. importpath = "go-common/library/stat",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = ["//library/stat/prom: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. "//library/stat/counter:all-srcs",
  25. "//library/stat/prom:all-srcs",
  26. "//library/stat/statsd:all-srcs",
  27. "//library/stat/summary:all-srcs",
  28. "//library/stat/sys/cpu:all-srcs",
  29. ],
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. )