blob: 3686f41e5be99d4eed417310739b8ad9e5f08c53 [file]
# Copyright 2026 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.
group("tests") {
testonly = true
deps = [ ":component_testing_cpp_tests" ]
}
## 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")
if (is_fuchsia) {
source_set("cpp") {
testonly = true
sources = [ "service_directory_provider.cc" ]
public = [ "service_directory_provider.h" ]
public_configs = [ "//sdk/config" ]
visibility = [ "//*" ]
public_deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io_cpp",
"//sdk/lib/async",
"//sdk/lib/component/incoming/cpp",
"//sdk/lib/fidl/cpp",
"//sdk/lib/vfs/cpp",
"//zircon/system/ulib/zx",
]
}
}
if (is_fuchsia) {
cc_test_executable("service_directory_provider_test_bin") {
sources = [ "service_directory_provider_test.cc" ]
output_name = "service_directory_provider_test"
deps = [
":cpp",
"//examples/fidl/fuchsia.examples:fuchsia.examples_cpp",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/lib/fidl/cpp",
"//sdk/lib/fit",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture",
"//src/lib/testing/predicates",
"//third_party/googletest:gtest",
]
testonly = true
emit_tool_path = false
}
}
fuchsia_unittest_package("component_testing_cpp_tests") {
package_name = "component_testing_cpp_tests-gn"
component_name = "component_testing_cpp_tests"
deps = [ ":service_directory_provider_test_bin" ]
visibility = [
":*",
"//sdk/lib:*",
]
}