blob: 103a32fa00dea8ed54c7650a06cecfe88a7eb30d [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-sae") {
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc",
"//src/connectivity/wlan/lib/common/rust:wlan-common",
"//src/connectivity/wlan/lib/statemachine:wlan-statemachine",
"//src/lib/mundane",
"//third_party/boringssl/rust/boringssl-sys",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:log",
"//third_party/rust_crates:num",
"//third_party/rust_crates:thiserror",
]
sources = [
"src/boringssl.rs",
"src/crypto_utils.rs",
"src/ecc.rs",
"src/frame.rs",
"src/lib.rs",
"src/state.rs",
]
}
unittest_package("wlan-sae-tests") {
deps = [ ":wlan-sae_test" ]
tests = [
{
name = "wlan_sae_lib_test"
environments = basic_envs
},
]
}