blob: a4dd16d0a2c16a0a84028725dca6b5cfa5a0ab57 [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/components.gni")
import("//build/rust/rustc_library.gni")
rustc_library("fidl_fuchsia_hardware_ethernet_ext") {
with_unit_tests = true
edition = "2021"
deps = [
"//sdk/fidl/fuchsia.hardware.ethernet:fuchsia.hardware.ethernet-rustc",
"//sdk/fidl/fuchsia.net:fuchsia.net-rustc",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
configs -= [ "//build/config/rust:allow_unused_results" ]
}
fuchsia_unittest_package("fidl-fuchsia-hardware-ethernet-ext-tests") {
deps = [ ":fidl_fuchsia_hardware_ethernet_ext_test" ]
}