blob: 2227a680f785c78398dd1af5b67a298ff1c9ffd0 [file] [log] [blame] [edit]
# Copyright 2021 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("//build/rust/rustc_library.gni")
assert(is_host,
"ffx_daemon_protocol_echo is for use with the host toolchain only")
rustc_library("ffx_daemon_protocol_echo") {
version = "0.1.0"
edition = "2024"
with_unit_tests = true
deps = [
"//src/developer/ffx/fidl:fuchsia.developer.ffx_rust",
"//src/developer/ffx/lib/protocols:lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:log",
]
test_deps = [
"//src/developer/ffx/config:lib",
"//src/lib/fuchsia",
]
sources = [ "src/lib.rs" ]
}
group("tests") {
testonly = true
deps = [ ":ffx_daemon_protocol_echo_test" ]
}