BUILD.bazel 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["doc.go"],
  5. importmap = "go-common/vendor/golang.org/x/text",
  6. importpath = "golang.org/x/text",
  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/golang.org/x/text/encoding:all-srcs",
  20. "//vendor/golang.org/x/text/internal/gen:all-srcs",
  21. "//vendor/golang.org/x/text/internal/tag:all-srcs",
  22. "//vendor/golang.org/x/text/internal/triegen:all-srcs",
  23. "//vendor/golang.org/x/text/internal/ucd:all-srcs",
  24. "//vendor/golang.org/x/text/internal/utf8internal:all-srcs",
  25. "//vendor/golang.org/x/text/language:all-srcs",
  26. "//vendor/golang.org/x/text/runes:all-srcs",
  27. "//vendor/golang.org/x/text/secure/bidirule:all-srcs",
  28. "//vendor/golang.org/x/text/transform:all-srcs",
  29. "//vendor/golang.org/x/text/unicode/bidi:all-srcs",
  30. "//vendor/golang.org/x/text/unicode/cldr:all-srcs",
  31. "//vendor/golang.org/x/text/unicode/norm:all-srcs",
  32. "//vendor/golang.org/x/text/unicode/rangetable:all-srcs",
  33. ],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )