BUILD.bazel 625 B

123456789101112131415161718192021222324252627
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = ["prometheus.go"],
  8. importpath = "go-common/library/stat/prom",
  9. tags = ["automanaged"],
  10. visibility = ["//visibility:public"],
  11. deps = ["//vendor/github.com/prometheus/client_golang/prometheus:go_default_library"],
  12. )
  13. filegroup(
  14. name = "package-srcs",
  15. srcs = glob(["**"]),
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:private"],
  18. )
  19. filegroup(
  20. name = "all-srcs",
  21. srcs = [":package-srcs"],
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. )