BUILD.bazel 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "buffer.go",
  6. "certs.go",
  7. "channel.go",
  8. "cipher.go",
  9. "client.go",
  10. "client_auth.go",
  11. "common.go",
  12. "connection.go",
  13. "doc.go",
  14. "handshake.go",
  15. "kex.go",
  16. "keys.go",
  17. "mac.go",
  18. "messages.go",
  19. "mux.go",
  20. "server.go",
  21. "session.go",
  22. "streamlocal.go",
  23. "tcpip.go",
  24. "transport.go",
  25. ],
  26. importmap = "k8s.io/test-infra/vendor/golang.org/x/crypto/ssh",
  27. importpath = "golang.org/x/crypto/ssh",
  28. visibility = ["//visibility:public"],
  29. deps = [
  30. "//vendor/golang.org/x/crypto/curve25519:go_default_library",
  31. "//vendor/golang.org/x/crypto/ed25519:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [
  43. ":package-srcs",
  44. "//vendor/golang.org/x/crypto/ssh/terminal:all-srcs",
  45. ],
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. )