blob: 21d538f72886c9b7a4af173a50e5db1281ead740 [file] [log] [blame]
# 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")
executable("bin") {
output_name = "calculator_server_cpp"
sources = [ "main.cc" ]
deps = [
# This is the FIDL Calculator protocol we're implementing
"//examples/fidl/calculator/fidl:calculator_cpp",
# This library is used to log messages.
"//sdk/lib/syslog/cpp",
# This library is used to publish capabilities, e.g. protocols,
# to the component's outgoing directory.
"//sdk/lib/component/outgoing/cpp",
# This library provides an the asynchronous event loop implementation.
"//zircon/system/ulib/async-loop:async-loop-cpp",
]
}
fuchsia_component("component") {
component_name = "server"
manifest = "meta/server.cml"
deps = [ ":bin" ]
}