| # Copyright 2020 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. | |
| import("//src/developer/ffx/build/ffx_plugin.gni") | |
| if (is_host) { | |
| ffx_plugin("ffx_component_run") { | |
| sdk_category = "not-yet-specified" | |
| version = "0.1.0" | |
| edition = "2024" | |
| with_unit_tests = true | |
| deps = [ | |
| "//src/developer/ffx/config:lib", | |
| "//src/developer/ffx/lib/errors:lib", | |
| "//src/developer/ffx/lib/fho:lib", | |
| "//src/developer/ffx/lib/target/connector:lib", | |
| "//src/developer/ffx/lib/target/holders:lib", | |
| "//src/developer/ffx/lib/writer:lib", | |
| "//src/developer/ffx/plugins/component/common:ffx_component", | |
| "//src/developer/ffx/plugins/log:ffx_log", | |
| "//src/developer/ffx/plugins/log:ffx_log_args", | |
| "//src/diagnostics/lib/log-command:log-command_fdomain", | |
| "//src/sys/lib/cm_rust", | |
| "//src/sys/lib/component_debug:component_debug_fdomain", | |
| "//third_party/rust_crates:anyhow", | |
| "//third_party/rust_crates:futures", | |
| ] | |
| args_sources = [ "src/args.rs" ] | |
| args_deps = [ | |
| "//src/developer/ffx/core:lib", | |
| "//src/lib/fuchsia-url", | |
| "//src/sys/lib/component_debug:component_debug_fdomain", | |
| "//src/sys/lib/moniker", | |
| "//third_party/rust_crates:argh", | |
| ] | |
| sources = [ "src/lib.rs" ] | |
| } | |
| group("host_tests") { | |
| testonly = true | |
| deps = [ | |
| ":ffx_component_run_tests", | |
| "tests:host_tests", | |
| ] | |
| } | |
| } |