| # Copyright 2017 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/components.gni") |
| |
| group("util") { |
| testonly = true |
| deps = [ ":mdns-util" ] |
| } |
| |
| fuchsia_package("mdns-util") { |
| deps = [ ":bin" ] |
| } |
| |
| executable("bin") { |
| output_name = "mdns-util" |
| |
| sources = [ |
| "commands.cc", |
| "commands.h", |
| "formatting.cc", |
| "formatting.h", |
| "main.cc", |
| "mdns_impl.cc", |
| "mdns_impl.h", |
| ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.net.mdns:fuchsia.net.mdns_hlcpp", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/syslog/cpp", |
| "//src/lib/fostr", |
| "//src/lib/fsl", |
| "//src/lib/fxl:fxl_cli", |
| "//src/lib/inet", |
| "//src/lib/line_input", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |