| # 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/fidl/fidl.gni") |
| import("//build/test.gni") |
| |
| group("conversion") { |
| testonly = true |
| deps = [ ":fidl_driver_cpp_natural_conversion_tests" ] |
| } |
| |
| test("fidl_driver_cpp_natural_conversion_tests_bin") { |
| output_name = "fidl_driver_cpp_natural_conversion_tests" |
| sources = [ "conversion_test.cc" ] |
| deps = [ |
| "//sdk/lib/fidl_driver/tests/coding:test.driver.coding_cpp_driver", |
| "//sdk/lib/stdcompat", |
| "//src/devices/bin/driver_runtime:driver_runtime_impl", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("fidl_driver_cpp_natural_conversion_tests") { |
| deps = [ ":fidl_driver_cpp_natural_conversion_tests_bin" ] |
| } |