blob: 39a9075a54903fccf98a6ea9bd2910896893f607 [file] [log] [blame]
# Copyright 2019 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("echo_client") {
edition = "2018"
deps = [
"//examples/components/routing/fidl:echo-rustc",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("echo_client_component") {
manifest = "meta/echo_client.cml"
component_name = "echo_client"
deps = [ ":echo_client" ]
}