blob: 2e357ef9e4ebdc8752c00a15870f2cdd8d757519 [file] [log] [blame]
# 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")
group("hlcpp_conversion") {
testonly = true
deps = [ ":fidl_hlcpp_conversion_tests" ]
}
test("fidl_hlcpp_conversion_tests_bin") {
output_name = "fidl_hlcpp_conversion_tests"
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",
]
deps = [
"fidl:test.enums.abc_cpp_hlcpp_conversion",
"fidl:test.enums.xyz_cpp_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",
]
}
fuchsia_unittest_package("fidl_hlcpp_conversion_tests") {
deps = [ ":fidl_hlcpp_conversion_tests_bin" ]
}