BUILD.bazel 976 B

1234567891011121314151617181920212223242526272829303132
  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 = "go-common/vendor/golang.org/x/text/encoding/internal",
  6. importpath = "golang.org/x/text/encoding/internal",
  7. visibility = ["//visibility:public"],
  8. deps = [
  9. "//vendor/golang.org/x/text/encoding:go_default_library",
  10. "//vendor/golang.org/x/text/encoding/internal/identifier:go_default_library",
  11. "//vendor/golang.org/x/text/transform:go_default_library",
  12. ],
  13. )
  14. filegroup(
  15. name = "package-srcs",
  16. srcs = glob(["**"]),
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:private"],
  19. )
  20. filegroup(
  21. name = "all-srcs",
  22. srcs = [
  23. ":package-srcs",
  24. "//vendor/golang.org/x/text/encoding/internal/enctest:all-srcs",
  25. "//vendor/golang.org/x/text/encoding/internal/identifier:all-srcs",
  26. ],
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:public"],
  29. )