| # 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_binary.gni") |
| |
| rustc_binary("bin") { |
| name = "dhcpd_test_client" |
| edition = "2018" |
| deps = [ |
| "//garnet/lib/rust/dhcp", |
| "//garnet/lib/rust/fidl_fuchsia_hardware_ethernet_ext", |
| "//garnet/public/rust/fuchsia-async", |
| "//third_party/rust-crates/rustc_deps:failure", |
| ] |
| } |
| |
| package("dhcpd_test_client") { |
| deprecated_bare_package_url = "//build" |
| |
| meta = [ |
| { |
| path = "meta/dhcpd_test_client.cmx" |
| dest = "dhcpd_test_client.cmx" |
| }, |
| ] |
| |
| deps = [ |
| ":bin", |
| ] |
| binary = "rust_crates/dhcpd_test_client" |
| } |