| # Copyright 2019 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_llcpp" |
| |
| sources = [ |
| "echo_server.cc", |
| ] |
| |
| deps = [ |
| "//garnet/examples/fidl/services:echo_llcpp", |
| "//sdk/lib/svc", |
| "//sdk/lib/sys/cpp", |
| "//zircon/public/lib/async-default", |
| "//zircon/public/lib/async-loop", |
| "//zircon/public/lib/async-loop-cpp", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/fidl-async-cpp", |
| ] |
| } |
| |
| fuchsia_component("echo_server_llcpp_component") { |
| manifest = rebase_path("../meta/echo_server.cmx") |
| manifest_dest = "meta/echo_server_llcpp.cmx" |
| deps = [ |
| ":bin", |
| ] |
| |
| binary = "echo_server_llcpp" |
| binary_dest = "bin/echo_server" |
| } |
| |
| package("echo_server_llcpp") { |
| components = [ ":echo_server_llcpp_component" ] |
| } |