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("//foundation/multimedia/audio_framework/config.gni") 15import("//test/xts/tools/build/suite.gni") 16 17module_output_path = "acts/ActsAudioStreamBuildeTest" 18old_root_dir = "//foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_stream_builder_test/" 19 20config_include_dirs = [ 21 "./include", 22 "$old_root_dir/../../../../audiocapturer/include", 23 "$old_root_dir/../../../../audiopolicy/include", 24 "$old_root_dir/../../../../audiorenderer/include", 25 "$old_root_dir/../../../../../../interfaces/inner_api/native/audiocapturer/include", 26 "$old_root_dir/../../../../../../interfaces/inner_api/native/audiocommon/include", 27 "$old_root_dir/../../../../../../interfaces/inner_api/native/audiomanager/include", 28 "$old_root_dir/../../../../../../interfaces/inner_api/native/audiorenderer/include", 29 "$old_root_dir/../../../../../../interfaces/inner_api/native/audiostream/include", 30 "$old_root_dir/../../../../../../services/audio_service/client/include", 31 "$old_root_dir/../../../../../../services/audio_service/test/example", 32 "$old_root_dir/../../../../../../interfaces/kits/c/", 33 "$old_root_dir/../../../../../../interfaces/kits/c/audio_renderer/", 34 "$old_root_dir/../../../../../../interfaces/kits/c/audio_capturer/", 35 "$old_root_dir/../../../../../../interfaces/kits/c/common/", 36] 37 38ohos_moduletest_suite("ActsAudioStreamBuildeTest") { 39 module_out_path = module_output_path 40 include_dirs = [ "./" ] 41 include_dirs += config_include_dirs 42 43 sources = [ "./src/oh_audio_stream_builder_unit_test.cpp" ] 44 45 deps = [ "$old_root_dir/../../../../ohaudio:ohaudio" ] 46 47 external_deps = [ "hilog:libhilog" ] 48 part_name = "av_codec" 49 subsystem_name = "multimedia" 50} 51