blob: d369db769ae55a2caaae7760eec928ef6f9865b7 [file] [log] [blame]
# Copyright 2021 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("//src/developer/ffx/build/ffx_plugin.gni")
import("//src/developer/ffx/build/ffx_tool.gni")
ffx_plugin("ffx_wlan") {
sdk_category = "not-yet-specified"
version = "0.0.1"
edition = "2021"
with_unit_tests = true
plugin_deps = [
"access_point:ffx_wlan_ap",
"client:ffx_wlan_client",
"deprecated:ffx_wlan_deprecated",
]
args_sources = [ "src/args.rs" ]
args_deps = [
"//src/developer/ffx/core:lib",
"//third_party/rust_crates:argh",
]
test_deps = [ "common:ffx-wlan-common_test" ]
}
ffx_tool("ffx_wlan_tool") {
edition = "2021"
output_name = "ffx-wlan"
deps = [
":ffx_wlan_suite",
"//src/lib/fuchsia-async",
]
sources = [ "src/main.rs" ]
sdk_target_name = "sdk"
sdk_category = "partner"
}
group("wlan") {
public_deps = [
":ffx_wlan_tool",
":ffx_wlan_tool_host_tool",
]
}
group("bin") {
public_deps = [ ":ffx_wlan_tool_versioned" ]
}
group("tests") {
testonly = true
deps = [ ":ffx_wlan_tests($host_toolchain)" ]
}