BUILD.bazel 867 B

12345678910111213141516171819202122232425262728293031323334
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "fastwalk.go",
  6. "fastwalk_dirent_fileno.go",
  7. "fastwalk_dirent_ino.go",
  8. "fastwalk_portable.go",
  9. "fastwalk_unix.go",
  10. "fix.go",
  11. "imports.go",
  12. "sortimports.go",
  13. "zstdlib.go",
  14. ],
  15. importmap = "go-common/vendor/golang.org/x/tools/imports",
  16. importpath = "golang.org/x/tools/imports",
  17. visibility = ["//visibility:public"],
  18. deps = ["//vendor/golang.org/x/tools/go/ast/astutil:go_default_library"],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [":package-srcs"],
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:public"],
  31. )