blob: 228292dbed2ae7f2df2a0f27e6a66c4c2d886d6e [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/package.gni")
import("//build/rust/rustc_library.gni")
rustc_library("dhcp") {
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/lib/rust/fidl_fuchsia_hardware_ethernet_ext",
"//third_party/rust-crates/rustc_deps:byteorder",
"//third_party/rust-crates/rustc_deps:bytes",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:serde",
"//third_party/rust-crates/rustc_deps:serde_derive",
"//third_party/rust-crates/rustc_deps:serde_json",
]
}
package("dhcp_tests") {
testonly = true
deps = [
":dhcp",
]
tests = [
{
name = "dhcp_lib_test"
},
]
}