blob: a851f0dc36a26367978dd8bcb874010b67bd0617 [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("//build/rust/rustc_binary.gni")
import("//build/rust/rustc_test.gni")
rustc_test("client") {
edition = "2021"
name = "netemul_runner_test_driver"
deps = [
"//src/connectivity/network/testing/netemul/sync-manager/rust:lib",
"//src/lib/fuchsia",
]
source_root = "src/client.rs"
sources = [ "src/client.rs" ]
configs -= [ "//build/config/rust:allow_unused_results" ]
}
rustc_binary("server") {
edition = "2021"
name = "netemul_runner_test_server"
testonly = true
deps = [
"//src/connectivity/network/testing/netemul/sync-manager/rust:lib",
"//src/lib/diagnostics/log/rust",
"//src/lib/fuchsia",
"//third_party/rust_crates:log",
]
source_root = "src/server.rs"
sources = [ "src/server.rs" ]
configs -= [ "//build/config/rust:allow_unused_results" ]
}