blob: 5ff551f5d481834b1eeab9107eef008e9e1dce1e [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 = [
"//garnet/public/rust/mundane",
"//src/connectivity/wlan/lib/common/rust:wlan-common",
"//src/connectivity/wlan/lib/eapol",
"//third_party/rust_crates:bitfield",
"//third_party/rust_crates:byteorder",
"//third_party/rust_crates:bytes",
"//third_party/rust_crates:failure",
"//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:rand",
"//third_party/rust_crates:rust-crypto",
"//third_party/rust_crates:time",
]
}
test_package("wlan-rsn-tests") {
deps = [
":wlan-rsn",
]
tests = [
{
name = "wlan_rsn_lib_test"
environments = basic_envs
},
]
}