blob: 292924472ae504e4f023ea0de7e0a4eacbc92174 [file] [log] [blame]
# 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/package.gni")
group("util") {
testonly = true
deps = [
":bin",
":mdns-util",
]
}
package("mdns-util") {
deps = [ ":bin" ]
binaries = [
{
name = "mdns-util"
shell = true
},
]
meta = [
{
path = rebase_path("meta/mdns-util.cmx")
dest = "mdns-util.cmx"
},
]
}
executable("bin") {
output_name = "mdns-util"
sources = [
"formatting.cc",
"formatting.h",
"main.cc",
"mdns_impl.cc",
"mdns_impl.h",
"mdns_params.cc",
"mdns_params.h",
]
deps = [
"//garnet/public/lib/fostr",
"//sdk/fidl/fuchsia.net.mdns",
"//sdk/lib/sys/cpp",
"//src/lib/fsl",
"//src/lib/fxl",
"//src/lib/syslog/cpp",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/async-loop-default",
]
}