BUILD.bazel 573 B

1234567891011121314151617181920212223
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["internal.go"],
  5. importmap = "k8s.io/test-infra/vendor/go.opencensus.io/trace/internal",
  6. importpath = "go.opencensus.io/trace/internal",
  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 = [":package-srcs"],
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. )