blob: d56de8c3136079350f8f06021bddde25930bc823 [file] [log] [blame]
# Copyright 2019 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/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("wep_deprecated") {
name = "wep_deprecated"
version = "0.1.0"
with_unit_tests = true
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.wlan.common:fuchsia.wlan.common-rustc",
"//sdk/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc",
"//src/connectivity/wlan/lib/common/rust:wlan-common",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:hex",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
unittest_package("wep-deprecated-tests") {
deps = [ ":wep_deprecated_test" ]
tests = [
{
name = "wep_deprecated_lib_test"
environments = basic_envs
},
]
}