| # Copyright 2017 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. |
| |
| keys_dir = "${root_build_dir}/ssh-keys" |
| |
| action("ssh_config") { |
| # Assumes that //.fx-ssh-path exists. If it doesn't, the user must manually |
| # run //tools/ssh-keys/gen-ssh-keys.sh |
| manifest = read_file("//.fx-ssh-path", "list lines") |
| config_file = "${keys_dir}/ssh_config" |
| script = "generate_ssh_config.sh" |
| args = [ |
| manifest[0], |
| rebase_path(config_file), |
| ] |
| outputs = [ config_file ] |
| } |