blob: 18966eaa8d0500fdbaefcb34b4b2997981238c04 [file] [log] [blame]
# 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("//build/rust/rustc_binary.gni")
import("//src/sys/build/components.gni")
rustc_binary("bin") {
edition = "2018"
name = "routing_failed_echo_client"
deps = [
"//examples/components/routing/fidl:echo-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:matches",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("echo-client") {
deps = [ ":bin" ]
manifest = "meta/echo_client.cml"
}
group("echo_client") {
deps = [ ":echo-client" ]
}