BUILD.bazel 619 B

123456789101112131415161718192021222324
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["font.go"],
  5. importmap = "go-common/vendor/golang.org/x/image/font",
  6. importpath = "golang.org/x/image/font",
  7. visibility = ["//visibility:public"],
  8. deps = ["//vendor/golang.org/x/image/math/fixed:go_default_library"],
  9. )
  10. filegroup(
  11. name = "package-srcs",
  12. srcs = glob(["**"]),
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:private"],
  15. )
  16. filegroup(
  17. name = "all-srcs",
  18. srcs = [":package-srcs"],
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. )