| # 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/fidl/fidl.gni") |
| import("//build/testing/host_test_data.gni") |
| |
| fidl("test.mixer") { |
| testonly = true |
| sources = [ "mixer.test.fidl" ] |
| public_deps = [ "//zircon/vdso/zx" ] |
| excluded_checks = [ |
| "invalid-copyright-for-platform-source-library", |
| "string-bounds-not-specified", |
| ] |
| } |
| |
| if (is_host) { |
| host_test_data("json_ir") { |
| deps = [ ":test.mixer($fidl_toolchain)" ] |
| _gen_dir = get_label_info(deps[0], "target_gen_dir") |
| sources = [ "$_gen_dir/test.mixer.fidl.json" ] |
| outputs = [ "$root_out_dir/test_data/gidl/test.mixer.fidl.json" ] |
| } |
| } |