| # 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. |
| |
| import("//build/components.gni") |
| import("//build/fidl/fidl.gni") |
| import("//build/test.gni") |
| |
| group("coding") { |
| testonly = true |
| deps = [ ":fidl_cpp_natural_coding_tests" ] |
| } |
| |
| test("fidl_cpp_natural_coding_tests_bin") { |
| output_name = "fidl_cpp_natural_coding_tests" |
| sources = [ |
| "natural_response_test.cc", |
| "natural_struct_test.cc", |
| "persistence_test.cc", |
| "test_util.h", |
| ] |
| deps = [ |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/stdcompat", |
| "//sdk/testing/fidl/types_tests:test.types_cpp", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("fidl_cpp_natural_coding_tests") { |
| deps = [ ":fidl_cpp_natural_coding_tests_bin" ] |
| } |