blob: 44a02f213aea1c5658a1bd3bd989170451ee4ea4 [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/rust/rustc_binary.gni")
import("//build/package.gni")
rustc_binary("echo2_server_rust_bin") {
name = "echo2_server_rust"
edition = "2018"
deps = [
"//garnet/examples/fidl/services:echo2-rustc",
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-app",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
]
}
package("echo2_server_rust") {
deps = [
":echo2_server_rust_bin"
]
binary = "rust_crates/echo2_server_rust"
meta = [
{
path = rebase_path("../meta/echo2_server.cmx")
dest = "echo2_server_rust.cmx"
},
]
}