blob: 726412dc96ef75b301b762a38cb30cf4d1fdc708 [file] [log] [blame]
# Copyright 2018 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/package.gni")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
name = "wlan_stress_test"
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.wlan.device:fuchsia.wlan.device-rustc",
"//sdk/fidl/fuchsia.wlan.device.service:fuchsia.wlan.device.service-rustc",
"//sdk/fidl/fuchsia.wlan.sme:fuchsia.wlan.sme-rustc",
"//src/connectivity/wlan/testing/wlan-service-util",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:structopt",
"//third_party/rust_crates:thiserror",
]
sources = [
"src/main.rs",
"src/opts.rs",
]
}
package("wlan-stress-test") {
deps = [ ":bin" ]
binaries = [
{
name = "wlan_stress_test"
},
]
meta = [
{
path = rebase_path("meta/wlan-stress-test.cmx")
dest = "wlan-stress-test.cmx"
},
]
}