blob: eeae83b1a289602b329b99fd1662d95df3ac3245 [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/package.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-rsn",
"//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_rustc" } ]
}