BUILD.bazel 667 B

123456789101112131415161718192021222324252627
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["opencensus.go"],
  5. importmap = "k8s.io/test-infra/vendor/go.opencensus.io",
  6. importpath = "go.opencensus.io",
  7. visibility = ["//visibility:public"],
  8. )
  9. filegroup(
  10. name = "package-srcs",
  11. srcs = glob(["**"]),
  12. tags = ["automanaged"],
  13. visibility = ["//visibility:private"],
  14. )
  15. filegroup(
  16. name = "all-srcs",
  17. srcs = [
  18. ":package-srcs",
  19. "//vendor/go.opencensus.io/internal:all-srcs",
  20. "//vendor/go.opencensus.io/trace:all-srcs",
  21. ],
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. )