blob: 9f39d36bfbbcd5f49980881903e305a3d99bf542 [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/rust/rustc_library.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("wlan-rsn") {
name = "wlan_rsn"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc",
"//src/connectivity/wlan/lib/common/rust:wlan-common",
"//src/connectivity/wlan/lib/eapol",
"//src/connectivity/wlan/lib/statemachine:wlan-statemachine",
"//src/lib/mundane",
"//src/lib/zerocopy",
"//third_party/boringssl/rust/boringssl-sys",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:bitfield",
"//third_party/rust_crates:byteorder",
"//third_party/rust_crates:bytes",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:log",
"//third_party/rust_crates:nom",
"//third_party/rust_crates:num",
"//third_party/rust_crates:num-bigint",
"//third_party/rust_crates:parking_lot",
"//third_party/rust_crates:rand",
"//third_party/rust_crates:rust-crypto",
"//third_party/rust_crates:thiserror",
"//third_party/rust_crates:time",
]
}
test_package("wlan-rsn-tests") {
deps = [ ":wlan-rsn_test" ]
tests = [
{
name = "wlan_rsn_lib_test"
environments = basic_envs
},
]
}