blob: 4181e2ee6f3e1ff2344d978e39e9a5a12bd4cbd4 [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/package.gni")
rustc_library("dhcp") {
with_unit_tests = true
edition = "2018"
deps = [
"//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_rustc" } ]
}