blob: 1bdfcd7b9450e339ba24c3f68b8a60c20e43a8d9 [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/async-loop-default",
"//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"
},
]
}