| # 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_rust", | 
 |     "//src/lib/fuchsia", | 
 |     "//src/lib/fuchsia-component", | 
 |     "//third_party/rust_crates:anyhow", | 
 |   ] | 
 |  | 
 |   sources = [ "src/main.rs" ] | 
 | } | 
 |  | 
 | fuchsia_component("echo-client") { | 
 |   component_name = "echo_client" | 
 |   manifest = "meta/client.cml" | 
 |   deps = [ ":bin" ] | 
 | } |