• 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/test.gni")
15
16module_output_path = "ai_intelligent_voice_framework/multiple_audio_capturer"
17
18ohos_unittest("multiple_capturer_test") {
19  module_out_path = module_output_path
20  include_dirs = [
21    "./include",
22    "../../../utils",
23    "../../../services/intell_voice_engine",
24    "../../../services/intell_voice_engine/server/base",
25    "../../../services/intell_voice_engine/server/sa",
26    "../../../services/intell_voice_engine/server/wakeup",
27  ]
28
29  cflags_cc = [
30    "-Wno-error=unused-parameter",
31    "-DHILOG_ENABLE",
32    "-DENABLE_DEBUG",
33  ]
34
35  sources = [ "src/multiple_capturer_test.cpp" ]
36
37  deps = [ "../../../services:intell_voice_server" ]
38
39  external_deps = [
40    "audio_framework:audio_capturer",
41    "audio_framework:audio_client",
42    "c_utils:utils",
43    "drivers_interface_intelligent_voice:intell_voice_trigger_idl_headers",
44    "drivers_interface_intelligent_voice:libintell_voice_engine_proxy_1.0",
45    "drivers_interface_intelligent_voice:libintell_voice_trigger_proxy_1.0",
46    "hilog:libhilog",
47  ]
48}
49