# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//foundation/multimedia/audio_framework/config.gni") import("//test/xts/tools/build/suite.gni") module_output_path = "acts/ActsAudioStreamBuildeTest" old_root_dir = "//foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/unittest/oh_audio_stream_builder_test/" config_include_dirs = [ "./include", "$old_root_dir/../../../../audiocapturer/include", "$old_root_dir/../../../../audiopolicy/include", "$old_root_dir/../../../../audiorenderer/include", "$old_root_dir/../../../../../../interfaces/inner_api/native/audiocapturer/include", "$old_root_dir/../../../../../../interfaces/inner_api/native/audiocommon/include", "$old_root_dir/../../../../../../interfaces/inner_api/native/audiomanager/include", "$old_root_dir/../../../../../../interfaces/inner_api/native/audiorenderer/include", "$old_root_dir/../../../../../../interfaces/inner_api/native/audiostream/include", "$old_root_dir/../../../../../../services/audio_service/client/include", "$old_root_dir/../../../../../../services/audio_service/test/example", "$old_root_dir/../../../../../../interfaces/kits/c/", "$old_root_dir/../../../../../../interfaces/kits/c/audio_renderer/", "$old_root_dir/../../../../../../interfaces/kits/c/audio_capturer/", "$old_root_dir/../../../../../../interfaces/kits/c/common/", ] ohos_moduletest_suite("ActsAudioStreamBuildeTest") { module_out_path = module_output_path include_dirs = [ "./" ] include_dirs += config_include_dirs sources = [ "./src/oh_audio_stream_builder_unit_test.cpp" ] deps = [ "$old_root_dir/../../../../ohaudio:ohaudio" ] external_deps = [ "hilog:libhilog" ] part_name = "av_codec" subsystem_name = "multimedia" }