blob: 84671056730fe2e53a085519b23c6815c6be7cf6 [file] [log] [blame]
# Copyright 2022 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_target_log_message") {
sdk_category = "not-yet-specified"
version = "0.1.0"
edition = "2024"
with_unit_tests = true
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//src/lib/diagnostics/log/types",
"//third_party/rust_crates:argh",
]
sources = [ "src/lib.rs" ]
deps = [
"//src/developer/ffx/lib/fho:lib",
"//src/developer/ffx/lib/target/holders:lib",
"//src/developer/ffx/lib/writer:lib",
"//third_party/rust_crates:async-trait",
]
test_deps = [
"//sdk/fidl/fuchsia.developer.remotecontrol:fuchsia.developer.remotecontrol_rust",
"//src/lib/diagnostics/log/types",
"//src/lib/fuchsia",
]
}
group("tests") {
testonly = true
deps = [ ":ffx_target_log_message_tests" ]
}