blob: c71a7dbe92899a93eec3a961956f6066cdae1980 [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/test/test_package.gni")
import("//build/testing/environments.gni")
rustc_library("fidl_fuchsia_hardware_ethernet_ext") {
with_unit_tests = true
edition = "2018"
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" ]
}
unittest_package("fidl-fuchsia-hardware-ethernet-ext-tests") {
deps = [ ":fidl_fuchsia_hardware_ethernet_ext_test" ]
tests = [
{
name = "fidl_fuchsia_hardware_ethernet_ext_lib_test"
environments = basic_envs
},
]
}