BUILD.bazel 690 B

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