blob: d4de3fdb3195177eefa2d19c23510c682e3c964a [file] [log] [blame]
# 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 = "2021"
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" ]
}