blob: 24ddc8408eb9165b75fa97d627393d5afb504772 [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.
# [START imports]
import("//build/components.gni")
# [END imports]
# Subpackaged component "echo_server#meta/default.cm"
fuchsia_package_with_single_component("echo_server") {
component_name = "default"
manifest = "meta/echo_server.cml"
deps = [ ":bin" ]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
executable("bin") {
sources = [ "main.cc" ]
output_name = "echo_server_cpp"
deps = [
"//examples/components/routing/fidl:echo_cpp",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/lib/inspect/component/cpp",
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
]
}
fuchsia_component_manifest("echo_server_cmp_manifest") {
component_name = "echo_server"
manifest = "meta/echo_server.cml"
}
fuchsia_component("echo_server_cmp") {
cm_label = ":echo_server_cmp_manifest"
visibility = [
":*",
"//examples/components/routing/*",
]
deps = [ ":bin" ]
}