BUILD.bazel 744 B

123456789101112131415161718192021222324252627
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["ed25519.go"],
  5. importmap = "go-common/vendor/golang.org/x/crypto/ed25519",
  6. importpath = "golang.org/x/crypto/ed25519",
  7. visibility = ["//visibility:public"],
  8. deps = ["//vendor/golang.org/x/crypto/ed25519/internal/edwards25519: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 = [
  19. ":package-srcs",
  20. "//vendor/golang.org/x/crypto/ed25519/internal/edwards25519:all-srcs",
  21. ],
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. )