| # Copyright 2023 The Fuchsia Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| assert(is_host, "ssh is for use with the host toolchain only") | |
| group("ssh") { | |
| testonly = true | |
| deps = [ ":lib" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| if (is_host) { | |
| rustc_library("lib") { | |
| sources = [ | |
| "src/config.rs", | |
| "src/keys.rs", | |
| "src/lib.rs", | |
| "src/parse.rs", | |
| "src/ssh.rs", | |
| ] | |
| inputs = [ | |
| "default_ssh_config", | |
| "testdata/test1_authorized_keys", | |
| "testdata/test1_ed25519", | |
| ] | |
| crate_name = "ffx_ssh" | |
| edition = "2024" | |
| visibility = [ | |
| ":*", | |
| "//src/developer/ffx/*", | |
| ] | |
| deps = [ | |
| "//src/developer/ffx/config:lib", | |
| "//src/developer/ffx/lib/fho:lib", | |
| "//src/developer/ffx/lib/netext:lib", | |
| "//src/lib/fuchsia-async", | |
| "//src/lib/fuchsia-sync", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:base64", | |
| "//third_party/rust_crates:chrono", | |
| "//third_party/rust_crates:http-body-util", | |
| "//third_party/rust_crates:hyper", | |
| "//third_party/rust_crates:hyper-util", | |
| "//third_party/rust_crates:log", | |
| "//third_party/rust_crates:ring", | |
| "//third_party/rust_crates:serde", | |
| "//third_party/rust_crates:serde_json", | |
| "//third_party/rust_crates:thiserror", | |
| "//third_party/rust_crates:tokio", | |
| ] | |
| } | |
| } |