| # Copyright 2019 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. |
| |
| executable("netsvc") { |
| sources = [ |
| "debuglog.c", |
| "device_id.c", |
| "netboot.c", |
| "netfile.c", |
| "netsvc.c", |
| "tftp.c", |
| "zbi.cpp", |
| ] |
| deps = [ |
| "$zx/system/fidl/fuchsia-device-manager:c", |
| "$zx/system/fidl/fuchsia-hardware-ethernet:c", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/inet6", |
| "$zx/system/ulib/libzbi", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/tftp", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| ] |
| data_deps = [ |
| # netsvc launches /boot/bin/install-disk-image under --netboot. |
| "$zx/system/uapp/disk-pave", |
| |
| # netsvc launches /boot/bin/sh for netruncmd. |
| "$zx/third_party/uapp/dash", |
| ] |
| } |