blob: 112899e6590ec1d2f6d8d0d178a2b6a754e72ec1 [file]
# Copyright 2022 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")
fuchsia_component_manifest("manifest") {
component_name = "client"
manifest = "//examples/fidl/new/${series_snake_case}/${variant_snake_case}/meta/client.cml"
}
fuchsia_structured_config_cpp_elf_lib("config") {
cm_label = ":manifest"
}
executable("bin") {
output_name = "client_bin"
output_dir = target_out_dir + "/hlcpp"
sources = [ "main.cc" ]
deps = [
":config",
"//examples/fidl/new/${series_snake_case}/${variant_snake_case}/fidl:examples.${series_flat_case}.${variant_flat_case}_hlcpp",
"//sdk/lib/component/outgoing/cpp",
"//sdk/lib/syslog/cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
]
}