blob: 53eba38e2a9f131ed9c294c4e171c3a9b53831f6 [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/package.gni")
executable("bin") {
output_name = "echo_server_c"
sources = [
"echo_server.c",
]
deps = [
"//sdk/lib/svc",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/fdio",
]
}
package("echo_server_c") {
deps = [
":bin",
]
binaries = [
{
name = "echo_server_c"
dest = "echo_server"
},
]
meta = [
{
path = rebase_path("../meta/echo_server.cmx")
dest = "echo_server_c.cmx"
},
]
}