blob: 07a555c3771de04ea875ac79139ea4b2cd95cf55 [file] [log] [blame]
# Copyright 2022 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("//sdk/ctf/build/ctf.gni")
ctf_rustc_binary("echo_server_testing") {
testonly = true
edition = "2021"
deps = [
"//examples/components/routing/fidl:echo_rust",
"//src/lib/fuchsia",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tracing",
]
sources = [ "src/main.rs" ]
}
ctf_fuchsia_component("echo_server") {
testonly = true
prebuilt_only = true
component_name = "echo_server"
manifest = "meta/echo_server.cml"
deps = [ ":echo_server_testing" ]
}