blob: 1985d5b7f3156e4c422d13c243e45a81424b8da8 [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")
executable("bin") {
output_name = "fidl_echo_cpp_client"
sources = [ "main.cc" ]
deps = [
"//examples/fidl/fuchsia.examples:fuchsia.examples_cpp",
"//sdk/lib/sys/cpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/service:service-llcpp",
]
}
fuchsia_component("echo-client") {
component_name = "echo_client"
manifest = "meta/client.cml"
deps = [ ":bin" ]
}
# Unified C++ async client and server example package
fuchsia_package("echo-cpp-client") {
deps = [
":echo-client",
"//examples/fidl/cpp/server:echo-server",
"//examples/fidl/echo-realm:echo_realm",
]
}
group("client") {
testonly = true
deps = [ ":echo-cpp-client" ]
}