| # 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") |
| |
| rustc_binary("echo_test_client") { |
| edition = "2018" |
| source_root = "echo_test_client.rs" |
| |
| deps = [ |
| "//examples/components/routing/fidl:echo-rustc", |
| "//sdk/fidl/fuchsia.test:fuchsia.test-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/lib/fuchsia-component", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| ] |
| } |
| |
| rustc_binary("echo_test_realm") { |
| edition = "2018" |
| source_root = "echo_test_realm.rs" |
| } |
| |
| group("all_bins") { |
| public_deps = [ |
| ":echo_test_client", |
| ":echo_test_realm", |
| ] |
| } |