| # 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/package.gni") |
| |
| rustc_library("wlan-rsn") { |
| name = "wlan_rsn" |
| version = "0.1.0" |
| with_unit_tests = true |
| |
| deps = [ |
| "//garnet/lib/rust/crates/eapol", |
| "//garnet/public/rust/crates/mundane-crypto", |
| "//third_party/rust-crates/rustc_deps:bitfield", |
| "//third_party/rust-crates/rustc_deps:byteorder", |
| "//third_party/rust-crates/rustc_deps:bytes", |
| "//third_party/rust-crates/rustc_deps:failure", |
| "//third_party/rust-crates/rustc_deps:hex", |
| "//third_party/rust-crates/rustc_deps:nom", |
| "//third_party/rust-crates/rustc_deps:num", |
| "//third_party/rust-crates/rustc_deps:num-bigint", |
| "//third_party/rust-crates/rustc_deps:rand", |
| "//third_party/rust-crates/rustc_deps:rust-crypto", |
| "//third_party/rust-crates/rustc_deps:time", |
| ] |
| } |
| |
| package("wlan-rsn-tests") { |
| testonly = true |
| |
| deps = [ |
| ":wlan-rsn" |
| ] |
| |
| tests = [ { name = "wlan_rsn_lib_test_rustc" } ] |
| } |