blob: dd2338a7befcf20242687ba49e06e32ada635a01 [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/components.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
name = "fidl_echo_rust_service_client"
edition = "2021"
deps = [
"//examples/fidl/fuchsia.examples:fuchsia.examples-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-runtime",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("echo-client") {
component_name = "echo_client"
manifest = "meta/client.cml"
deps = [ ":bin" ]
}