blob: c08540fdd5a411f6b6e7db4e0cc12f65aa07ae15 [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")
import("//build/test.gni")
# TODO(https://fxbug.dev/570694755): Migrate `branch-bin` once its enclosing
# `branch` and `service-examples-cpp` packages move to Bazel and `branch.cc`
# updates its repo-root angle-bracket include.
test("branch-bin") {
output_name = "branch_bin_cpp"
deps = [
"//examples/components/services/fidl:fuchsia.examples.services_hlcpp",
"//sdk/fidl/fuchsia.component:fuchsia.component_hlcpp",
"//sdk/fidl/fuchsia.component.decl:fuchsia.component.decl_hlcpp",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture:gtest",
]
sources = [ "branch.cc" ]
}
fuchsia_package_with_single_component("branch") {
component_name = "default"
testonly = true
manifest = "meta/branch.cml"
deps = [ ":branch-bin" ]
}
fuchsia_package_with_single_component("provider-a") {
component_name = "default"
testonly = true
manifest = "meta/provider-a.cml"
deps = [ ":provider-bin" ]
}
fuchsia_package_with_single_component("provider-b") {
component_name = "default"
testonly = true
manifest = "meta/provider-b.cml"
deps = [ ":provider-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("provider-bin") {
sources = [ "provider.cc" ]
output_name = "provider_bin_cpp"
deps = [
"//examples/components/services/fidl:fuchsia.examples.services_cpp",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/lib/component/outgoing/cpp",
"//sdk/lib/syslog/cpp",
]
}