blob: 16f5d2721177406320cbc17ee667c601a4126cab [file] [log] [blame]
# Copyright 2020 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-frame-writer") {
name = "wlan_frame_writer"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.wlan.ieee80211:fuchsia.wlan.ieee80211-rustc",
"//src/connectivity/wlan/lib/common/rust:wlan-common",
"//src/connectivity/wlan/lib/frame_writer/macro:wlan-frame-writer-macro",
"//src/lib/zerocopy",
"//third_party/rust_crates:proc-macro-hack",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("wlan-frame-writer-tests") {
deps = [ ":wlan-frame-writer_test" ]
}