blob: abef8a20b7b1f5279ca5bb171670a4326a48a450 [file] [log] [blame]
# Copyright 2021 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")
source_set("lib") {
sources = [
"echo_server_app.cc",
"echo_server_app.h",
]
public_deps = [
"//sdk/lib/fidl/cpp",
"//sdk/lib/sys/cpp",
"//src/testing/fidl:placeholders",
]
}
executable("bin") {
output_name = "echo_server_placeholder"
sources = [ "echo_server.cc" ]
deps = [
":lib",
"//zircon/system/ulib/async-default",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
]
}
fuchsia_component("echo_server") {
manifest = "meta/echo_server.cmx"
deps = [ ":bin" ]
}
fuchsia_package("echo_server_placeholder") {
deps = [ ":echo_server" ]
}