BUILD.bazel 652 B

123456789101112131415161718192021222324252627
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "cond.go",
  6. "runes.go",
  7. ],
  8. importmap = "go-common/vendor/golang.org/x/text/runes",
  9. importpath = "golang.org/x/text/runes",
  10. visibility = ["//visibility:public"],
  11. deps = ["//vendor/golang.org/x/text/transform: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. )