BUILD.bazel 816 B

12345678910111213141516171819202122232425262728293031323334
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "const_amd64.h",
  6. "const_amd64.s",
  7. "cswap_amd64.s",
  8. "curve25519.go",
  9. "doc.go",
  10. "freeze_amd64.s",
  11. "ladderstep_amd64.s",
  12. "mont25519_amd64.go",
  13. "mul_amd64.s",
  14. "square_amd64.s",
  15. ],
  16. importmap = "k8s.io/test-infra/vendor/golang.org/x/crypto/curve25519",
  17. importpath = "golang.org/x/crypto/curve25519",
  18. visibility = ["//visibility:public"],
  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. )