blob: 5ac13b7555b82f928e84142d3dd3009cd51495df [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/cts/build/cts.gni")
cts_rustc_binary("echo_server_testing") {
testonly = true
deps = [
"//examples/components/routing/fidl:echo-rustc",
"//src/lib/fuchsia",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
]
sources = [ "src/main.rs" ]
}
cts_fuchsia_component("echo_server") {
testonly = true
prebuilt_only = true
component_name = "echo_server"
manifest = "meta/echo_server.cml"
deps = [ ":echo_server_testing" ]
}