• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/config/features.gni")
15import("//build/test.gni")
16import("../../../../config.gni")
17
18config("audio_adapter_fuzztest_config") {
19  visibility = [ "./*" ]
20
21  if (webview_audio_enable) {
22    defines = [ "NWEB_AUDIO_ENABLE" ]
23  }
24}
25
26group("fuzztest") {
27  testonly = true
28  deps = []
29  if (webview_audio_enable) {
30    deps += [
31      "audioabandon_fuzzer:AudioAbandonFuzzTest",
32      "audiocreaterender_fuzzer:AudioCreateRenderFuzzTest",
33      "audiogetchannel_fuzzer:AudioGetChannelFuzzTest",
34      "audiogetcontent_fuzzer:AudioGetContentFuzzTest",
35      "audiogetformat_fuzzer:AudioGetFormatFuzzTest",
36      "audiogetlatency_fuzzer:AudioGetLatencyFuzzTest",
37      "audiogetsampling_fuzzer:AudioGetSamplingFuzzTest",
38      "audiogetstream_fuzzer:AudioGetStreamFuzzTest",
39      "audioinputdevices_fuzzer:AudioInputDevicesFuzzTest",
40      "audiointerrupt_fuzzer:AudioInterruptFuzzTest",
41      "audiooutputdevices_fuzzer:AudioOutputDevicesFuzzTest",
42      "audioreleaserender_fuzzer:AudioReleaseRenderFuzzTest",
43      "audiorequest_fuzzer:AudioRequestFuzzTest",
44      "audiosetcallback_fuzzer:AudioSetCallbackFuzzTest",
45      "audiosetstreamtype_fuzzer:AudioSetStreamtypeFuzzTest",
46      "audiosetvolume_fuzzer:AudioSetVolumeFuzzTest",
47      "audiostartrender_fuzzer:AudioStartRenderFuzzTest",
48      "audiostoprender_fuzzer:AudioStopRenderFuzzTest",
49      "audiounsetcallback_fuzzer:AudioUnsetCallbackFuzzTest",
50      "audiowriterender_fuzzer:AudioWriteRenderFuzzTest",
51    ]
52  }
53}
54