blob: d776b3a2cdbd2fb3e064a3a02a28c15dfe266d70 [file] [log] [blame]
# Copyright 2020 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.
# [START imports]
import("//build/components.gni")
# [END imports]
executable("bin") {
output_name = "fidl_echo_cpp_wire_client_sync"
sources = [ "main.cc" ]
# [START deps]
deps = [
"//examples/fidl/fuchsia.examples:fuchsia.examples_cpp",
# This library is used to log messages.
"//sdk/lib/syslog/cpp",
# This library is used to consume capabilities, e.g. protocols,
# from the component's incoming directory.
"//sdk/lib/component/incoming/cpp",
]
# [END deps]
}
# [START rest]
fuchsia_component("echo-client") {
component_name = "echo_client"
manifest = "meta/client.cml"
deps = [ ":bin" ]
}
fuchsia_package("echo-cpp-wire-client-sync") {
deps = [
":echo-client",
"//examples/fidl/cpp/server/wire:echo-server",
"//examples/fidl/echo-realm:echo_realm",
]
}
group("wire") {
testonly = true
deps = [ ":echo-cpp-wire-client-sync" ]
}
# [END rest]