| # 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/package.gni") |
| import("//build/rust/rustc_library.gni") |
| import("//build/test/test_package.gni") |
| import("//build/testing/environments.gni") |
| |
| rustc_library("wlan-inspect") { |
| name = "wlan_inspect" |
| version = "0.1.0" |
| with_unit_tests = true |
| edition = "2018" |
| |
| deps = [ |
| "//garnet/public/rust/fuchsia-inspect", |
| "//garnet/public/rust/fuchsia-zircon", |
| "//sdk/fidl/fuchsia.wlan.common:fuchsia.wlan.common-rustc", |
| "//sdk/fidl/fuchsia.wlan.mlme:fuchsia.wlan.mlme-rustc", |
| "//third_party/rust_crates:parking_lot", |
| "//zircon/public/fidl/fuchsia-inspect:fuchsia-inspect-rustc", |
| ] |
| } |
| |
| test_package("wlan-inspect-tests") { |
| deps = [ |
| ":wlan-inspect", |
| ] |
| |
| tests = [ |
| { |
| name = "wlan_inspect_lib_test" |
| environments = basic_envs |
| }, |
| ] |
| } |