blob: e1616da807e6948e94c6781cc8bd5c9f7fc33488 [file] [log] [blame]
# Copyright 2018 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/package.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("echo_client_rust_synchronous_bin") {
name = "echo_client_rust_synchronous"
edition = "2018"
deps = [
"//garnet/examples/fidl/services:echo-rustc",
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:structopt",
]
}
package("echo_client_rust_synchronous") {
deps = [
":echo_client_rust_synchronous_bin",
]
binary = "rust_crates/echo_client_rust_synchronous"
meta = [
{
path = rebase_path("../meta/echo_client.cmx")
dest = "echo_client_rust_synchronous.cmx"
},
]
}