blob: 27d8cef196ef4dc61ab9840f1c94b200eda987cc [file]
# Copyright 2021 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("integration") {
testonly = true
deps = [
":fidl_llcpp_dispatcher_handle_ownership_tests",
":fidl_llcpp_flexible_tests",
":fidl_llcpp_gen_api_tests",
":fidl_llcpp_handle_raii_tests",
":fidl_llcpp_handle_rights_tests",
":fidl_llcpp_header_coding_tests",
":fidl_llcpp_protocol_tests",
":fidl_llcpp_unknown_interactions_tests",
":fidl_llcpp_v2_integration_tests",
":fidl_llcpp_zircon_channel_client_over_driver_dispatcher_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")
fidl("llcpptest.dispatcher.handle.ownership.test") {
testonly = true
sources = [ "dispatcher_handle_ownership.test.fidl" ]
visibility = [
":*",
"//src/lib/fidl/llcpp/tests/*",
]
public_deps = [ "//zircon/vdso/zx" ]
}
cc_test_executable("fidl_llcpp_dispatcher_handle_ownership_tests_bin") {
sources = [ "dispatcher_handle_ownership_test.cc" ]
output_name = "fidl_llcpp_dispatcher_handle_ownership_tests"
deps = [
":llcpptest.dispatcher.handle.ownership.test_cpp_testing",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//zircon/system/ulib/zxtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_dispatcher_handle_ownership_tests") {
package_name = "fidl_llcpp_dispatcher_handle_ownership_tests-gn"
component_name = "fidl_llcpp_dispatcher_handle_ownership_tests"
deps = [ ":fidl_llcpp_dispatcher_handle_ownership_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
cc_test_executable("fidl_llcpp_unknown_interactions_tests_bin") {
sources = [ "unknown_interactions_tests.cc" ]
output_name = "fidl_llcpp_unknown_interactions_tests"
deps = [
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/testing/fidl/protocols_tests:test.unknown.interactions_cpp_testing",
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gmock",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_unknown_interactions_tests") {
package_name = "fidl_llcpp_unknown_interactions_tests-gn"
component_name = "fidl_llcpp_unknown_interactions_tests"
deps = [ ":fidl_llcpp_unknown_interactions_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
cc_test_executable("fidl_llcpp_gen_api_tests_bin") {
sources = [
"client_gen_api_test.cc",
"server_gen_api_test.cc",
"sync_event_handler_test.cc",
]
output_name = "fidl_llcpp_gen_api_tests"
deps = [
":fidl.test.coding.fuchsia_cpp_testing",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/testing/fidl/protocols_tests:test.basic.protocol_cpp",
"//sdk/testing/fidl/protocols_tests:test.basic.protocol_cpp_testing",
"//sdk/testing/fidl/protocols_tests:test.empty.protocol_cpp",
"//zircon/system/ulib/sync:sync-cpp",
"//zircon/system/ulib/zxtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_gen_api_tests") {
package_name = "fidl_llcpp_gen_api_tests-gn"
component_name = "fidl_llcpp_gen_api_tests"
deps = [ ":fidl_llcpp_gen_api_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
fidl("fidl.test.coding.fuchsia") {
testonly = true
sources = [ "llcpp.test.fidl" ]
visibility = [
":*",
"//sdk/lib/fidl/cpp/tests/*",
"//src/lib/fidl/contrib/tests/*",
"//src/lib/fidl/llcpp/tests/*",
]
}
fidl("llcpptest.flexible.test") {
testonly = true
sources = [ "flexible.test.fidl" ]
public_deps = [ "//zircon/vdso/zx" ]
}
cc_test_executable("fidl_llcpp_flexible_tests_bin") {
sources = [ "flexible_test.cc" ]
configs += [ "//build/config:Wno-conversion" ]
output_name = "fidl_llcpp_flexible_tests"
deps = [
":llcpptest.flexible.test_cpp_testing",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//src/lib/fidl/llcpp/tests:types_test_utils",
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_flexible_tests") {
package_name = "fidl_llcpp_flexible_tests-gn"
component_name = "fidl_llcpp_flexible_tests"
deps = [ ":fidl_llcpp_flexible_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
fidl("llcpptest.handlerights.test") {
testonly = true
sources = [ "handle_rights.test.fidl" ]
public_deps = [ "//zircon/vdso/zx" ]
}
cc_test_executable("fidl_llcpp_handle_rights_tests_bin") {
sources = [ "handle_rights_test.cc" ]
output_name = "fidl_llcpp_handle_rights_tests"
deps = [
":llcpptest.handlerights.test_cpp",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//src/lib/fidl/llcpp/tests:types_test_utils",
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_handle_rights_tests") {
package_name = "fidl_llcpp_handle_rights_tests-gn"
component_name = "fidl_llcpp_handle_rights_tests"
deps = [ ":fidl_llcpp_handle_rights_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
fidl("llcpptest.protocol.test") {
testonly = true
sources = [ "protocol.test.fidl" ]
visibility = [
":*",
"//src/lib/fidl/llcpp/tests/*",
]
public_deps = [ "//zircon/vdso/zx" ]
}
cc_test_executable("fidl_llcpp_protocol_tests_bin") {
sources = [
"caller_allocating_test.cc",
"protocol_test.cc",
"sync_client_error_tests.cc",
]
output_name = "fidl_llcpp_protocol_tests"
deps = [
":llcpptest.protocol.test_cpp",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/testing/fidl/protocols_tests:test.empty.protocol_cpp",
"//sdk/testing/fidl/protocols_tests:test.error.methods_cpp",
"//src/lib/fidl/llcpp/tests:arena_checker",
"//zircon/system/ulib/zxtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_protocol_tests") {
package_name = "fidl_llcpp_protocol_tests-gn"
component_name = "fidl_llcpp_protocol_tests"
deps = [ ":fidl_llcpp_protocol_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
fidl("llcpptest.handleraii.test") {
testonly = true
sources = [ "handle_raii.test.fidl" ]
public_deps = [ "//zircon/vdso/zx" ]
}
cc_test_executable("fidl_llcpp_handle_raii_tests_bin") {
sources = [ "handle_raii_test.cc" ]
output_name = "fidl_llcpp_handle_raii_tests"
deps = [
":llcpptest.handleraii.test_cpp",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//src/lib/fidl/llcpp/tests:types_test_utils",
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_handle_raii_tests") {
package_name = "fidl_llcpp_handle_raii_tests-gn"
component_name = "fidl_llcpp_handle_raii_tests"
deps = [ ":fidl_llcpp_handle_raii_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
fidl("llcpptest.v2integration.test") {
testonly = true
sources = [ "v2_integration.test.fidl" ]
}
cc_test_executable("fidl_llcpp_v2_integration_tests_bin") {
sources = [ "v2_integration_test.cc" ]
output_name = "fidl_llcpp_v2_integration_tests"
deps = [
":llcpptest.v2integration.test_cpp",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_v2_integration_tests") {
package_name = "fidl_llcpp_v2_integration_tests-gn"
component_name = "fidl_llcpp_v2_integration_tests"
deps = [ ":fidl_llcpp_v2_integration_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
cc_test_executable("fidl_llcpp_header_coding_tests_bin") {
sources = [ "header_coding_test.cc" ]
output_name = "fidl_llcpp_header_coding_tests"
deps = [
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/testing/fidl/protocols_tests:test.basic.protocol_cpp",
"//zircon/system/ulib/sync:sync-cpp",
"//zircon/system/ulib/zxtest",
]
testonly = true
emit_tool_path = false
}
fuchsia_unittest_package("fidl_llcpp_header_coding_tests") {
package_name = "fidl_llcpp_header_coding_tests-gn"
component_name = "fidl_llcpp_header_coding_tests"
deps = [ ":fidl_llcpp_header_coding_tests_bin" ]
visibility = [
":*",
"//src/lib:*",
]
}
cc_test_executable(
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_bin") {
sources = [ "zircon_channel_client_over_driver_dispatcher_test.cc" ]
output_name = "fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests"
deps = [
"//sdk/lib/async:async-cpp",
"//sdk/lib/driver/runtime:driver_runtime_cpp",
"//sdk/lib/driver/testing/cpp",
"//sdk/testing/fidl/protocols_tests:test.empty.protocol_cpp",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/predicates",
"//third_party/googletest:gtest",
"//zircon/system/ulib/sync:sync-cpp",
]
testonly = true
emit_tool_path = false
}
renamed_binary(
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_packaged_bin") {
testonly = true
source = "$root_out_dir/fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests"
source_deps =
[ ":fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_bin" ]
dest = "test/fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests"
}
fuchsia_component_manifest(
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_manifest") {
component_name =
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests"
manifest =
"meta/fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests.cml"
}
fuchsia_test_component(
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_component") {
cm_label =
":fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_manifest"
deps = [ ":fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_packaged_bin" ]
}
fuchsia_test_package(
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests") {
package_name =
"fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests-gn"
test_components = [
":fidl_llcpp_zircon_channel_client_over_driver_dispatcher_tests_component",
]
}