| # 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") | |
| ffx_plugin("ffx_wait") { | |
| 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/diagnostics:lib", | |
| "//src/developer/ffx/lib/diagnostics/checks:lib", | |
| "//src/developer/ffx/lib/errors:lib", | |
| "//src/developer/ffx/lib/fho:lib", | |
| "//src/developer/ffx/lib/target:lib", | |
| "//src/developer/ffx/lib/writer:lib", | |
| "//third_party/rust_crates:schemars", | |
| "//third_party/rust_crates:serde", | |
| "//third_party/rust_crates:thiserror", | |
| ] | |
| test_deps = [ | |
| "//src/developer/ffx/config:lib", | |
| "//src/lib/fuchsia", | |
| "//third_party/rust_crates:argh", | |
| "//third_party/rust_crates:mockall", | |
| "//third_party/rust_crates:serde_json", | |
| ] | |
| args_sources = [ "src/args.rs" ] | |
| args_deps = [ | |
| "//src/developer/ffx/core:lib", | |
| "//third_party/rust_crates:argh", | |
| ] | |
| sources = [ "src/lib.rs" ] | |
| } | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":ffx_wait_tests($host_toolchain)" ] | |
| } |