| # 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-sme") { |
| name = "wlan_sme" |
| version = "0.1.0" |
| with_unit_tests = true |
| |
| deps = [ |
| "//garnet/lib/rust/crates/eapol", |
| "//garnet/lib/rust/crates/wlan-rsn", |
| "//garnet/public/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc", |
| "//garnet/public/rust/crates/fuchsia-zircon", |
| "//third_party/rust-crates/rustc_deps:bytes", |
| "//third_party/rust-crates/rustc_deps:failure", |
| "//third_party/rust-crates/rustc_deps:futures-preview", |
| "//third_party/rust-crates/rustc_deps:log", |
| ] |
| } |
| |
| package("wlan-sme-tests") { |
| testonly = true |
| |
| deps = [ |
| ":wlan-sme" |
| ] |
| |
| tests = [ { name = "wlan_sme_lib_test_rustc" } ] |
| } |