blob: 2bf697cb0ee31af27bb8fdb6b6f0ef8f1b100f18 [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/package.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 = [
"//garnet/lib/rust/eapol",
"//garnet/lib/rust/wlan-common",
"//garnet/lib/rust/wlan-rsn",
"//garnet/lib/wlan/fidl:sme-rustc",
"//garnet/public/fidl/fuchsia.wlan.common:fuchsia.wlan.common-rustc",
"//garnet/public/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc",
"//garnet/public/rust/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",
"//third_party/rust-crates/rustc_deps:nom",
]
}
package("wlan-sme-tests") {
testonly = true
deps = [
":wlan-sme",
]
tests = [
{
name = "wlan_sme_lib_test"
},
]
}