| # 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/components.gni") |
| import("//build/rust/rustc_library.gni") |
| |
| rustc_library("wlan-sme") { |
| name = "wlan_sme" |
| version = "0.1.0" |
| with_unit_tests = true |
| edition = "2018" |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.wlan.common:fuchsia.wlan.common-rustc", |
| "//sdk/fidl/fuchsia.wlan.ieee80211:fuchsia.wlan.ieee80211-rustc", |
| "//sdk/fidl/fuchsia.wlan.internal:fuchsia.wlan.internal-rustc", |
| "//sdk/fidl/fuchsia.wlan.mesh:fuchsia.wlan.mesh-rustc", |
| "//sdk/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc", |
| "//sdk/fidl/fuchsia.wlan.sme:fuchsia.wlan.sme-rustc", |
| "//src/connectivity/wlan/lib/common/rust:wlan-common", |
| "//src/connectivity/wlan/lib/eapol", |
| "//src/connectivity/wlan/lib/inspect:wlan-inspect", |
| "//src/connectivity/wlan/lib/rsn:wlan-rsn", |
| "//src/connectivity/wlan/lib/sae:wlan-sae", |
| "//src/connectivity/wlan/lib/statemachine:wlan-statemachine", |
| "//src/connectivity/wlan/lib/wep_deprecated", |
| "//src/lib/diagnostics/inspect/contrib/rust", |
| "//src/lib/diagnostics/inspect/rust", |
| "//src/lib/mundane", |
| "//src/lib/zerocopy", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:bytes", |
| "//third_party/rust_crates:derivative", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:itertools", |
| "//third_party/rust_crates:log", |
| "//third_party/rust_crates:maplit", |
| "//third_party/rust_crates:nom", |
| "//third_party/rust_crates:parking_lot", |
| "//third_party/rust_crates:static_assertions", |
| "//third_party/rust_crates:thiserror", |
| ] |
| |
| sources = [ |
| "src/ap/aid.rs", |
| "src/ap/authenticator.rs", |
| "src/ap/event.rs", |
| "src/ap/mod.rs", |
| "src/ap/remote_client/mod.rs", |
| "src/ap/remote_client/state.rs", |
| "src/ap/test_utils.rs", |
| "src/capabilities.rs", |
| "src/client/bss.rs", |
| "src/client/capabilities.rs", |
| "src/client/event.rs", |
| "src/client/info/info_reporter.rs", |
| "src/client/info/mod.rs", |
| "src/client/info/stats_collector.rs", |
| "src/client/inspect.rs", |
| "src/client/mod.rs", |
| "src/client/protection.rs", |
| "src/client/rsn.rs", |
| "src/client/scan.rs", |
| "src/client/state/link_state.rs", |
| "src/client/state/mod.rs", |
| "src/client/test_utils.rs", |
| "src/client/wpa.rs", |
| "src/clone_utils.rs", |
| "src/lib.rs", |
| "src/mesh/mod.rs", |
| "src/phy_selection.rs", |
| "src/sink.rs", |
| "src/test_utils.rs", |
| "src/timer.rs", |
| ] |
| } |
| |
| fuchsia_unittest_package("wlan-sme-tests") { |
| deps = [ ":wlan-sme_test" ] |
| manifest = "meta/wlan_sme_lib_test.cmx" |
| } |