blob: 0fa43286618b572bf6515032234e47ede32b35e0 [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/lints: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/fuchsia",
"//third_party/rust_crates:tracing",
]
source_root = "src/server.rs"
sources = [ "src/server.rs" ]
configs -= [ "//build/config/rust/lints:allow_unused_results" ]
}