blob: 0cfa78e9055b4506fffaa103c0048ff12c6c7cfc [file] [log] [blame]
# 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")
import("//src/sys/build/components.gni")
rustc_binary("echo_server") {
edition = "2018"
deps = [
"//examples/components/routing/fidl:echo-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "src/main.rs" ]
}
fuchsia_component("echo_server_component") {
manifest = "meta/echo_server.cml"
component_name = "echo_server"
deps = [ ":echo_server" ]
}