| # 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. | |
| group("hlcpp_conversion") { | |
| testonly = true | |
| deps = [ ":fidl_hlcpp_conversion_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") | |
| cc_test_executable("fidl_hlcpp_conversion_tests_bin") { | |
| sources = [ | |
| "bits_conversion_test.cc", | |
| "enum_conversion_multi_library_test.cc", | |
| "enum_conversion_test.cc", | |
| "protocol_endpoint_conversion_test.cc", | |
| "protocol_handler_conversion_test.cc", | |
| "struct_conversion_test.cc", | |
| "table_conversion_test.cc", | |
| "union_conversion_test.cc", | |
| ] | |
| output_name = "fidl_hlcpp_conversion_tests" | |
| deps = [ | |
| "//sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl:test.enums.abc_cpp_hlcpp_conversion", | |
| "//sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl:test.enums.xyz_cpp_hlcpp_conversion", | |
| "//sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl:test.protocols_cpp_hlcpp_conversion", | |
| "//sdk/testing/fidl/protocols_tests:test.protocol.connector_cpp", | |
| "//sdk/testing/fidl/protocols_tests:test.protocol.connector_cpp_hlcpp_conversion", | |
| "//sdk/testing/fidl/types_tests:test.types_cpp_hlcpp_conversion", | |
| "//src/lib/fxl/test:gtest_main", | |
| "//third_party/googletest:gtest", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| testonly = true | |
| emit_tool_path = false | |
| } | |
| fuchsia_unittest_package("fidl_hlcpp_conversion_tests") { | |
| package_name = "fidl_hlcpp_conversion_tests-gn" | |
| component_name = "fidl_hlcpp_conversion_tests" | |
| deps = [ ":fidl_hlcpp_conversion_tests_bin" ] | |
| visibility = [ | |
| ":*", | |
| "//sdk/lib:*", | |
| ] | |
| } |