| # Copyright 2020 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/cpp/cpp_fuzzer.gni") |
| |
| cpp_fuzzer("api-fuzzer") { |
| sources = [ |
| "fuzzed_client.h", |
| "fuzzed_client_capturer.cc", |
| "fuzzed_client_renderer.cc", |
| "fuzzer.cc", |
| ] |
| deps = [ |
| "//sdk/lib/media/audio/cpp", |
| "//src/media/audio/audio_core:audio-core-for-test_audio_core_nodevfs_component", |
| "//src/media/audio/audio_core:audio_core_lib", |
| "//src/media/audio/audio_core/testing", |
| "//src/media/audio/lib/audio_test_devmgr:audio-test-devmgr", |
| "//src/media/audio/lib/processing:prebuilt_coefficient_tables", |
| "//src/media/audio/lib/test:hermetic_audio_test", |
| ] |
| services = [ |
| "fuchsia.media.AudioCore", |
| "fuchsia.media.AudioTestDevmgr", |
| "fuchsia.scheduler.ProfileProvider", |
| "fuchsia.sys.Environment", |
| "fuchsia.sys.Loader", |
| "fuchsia.tracing.provider.Registry", |
| ] |
| } |