150a07fd2Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 250a07fd2Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 350a07fd2Sopenharmony_ci# you may not use this file except in compliance with the License. 450a07fd2Sopenharmony_ci# You may obtain a copy of the License at 550a07fd2Sopenharmony_ci# 650a07fd2Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 750a07fd2Sopenharmony_ci# 850a07fd2Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 950a07fd2Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1050a07fd2Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1150a07fd2Sopenharmony_ci# See the License for the specific language governing permissions and 1250a07fd2Sopenharmony_ci# limitations under the License. 1350a07fd2Sopenharmony_ci 1450a07fd2Sopenharmony_cidistributedaudio_ext_path = 1550a07fd2Sopenharmony_ci "//foundation/distributedhardware/distributed_audio_ext" 1650a07fd2Sopenharmony_cidistributedaudio_path = "//foundation/distributedhardware/distributed_audio" 1750a07fd2Sopenharmony_cidistributedhardwarefwk_path = 1850a07fd2Sopenharmony_ci "//foundation/distributedhardware/distributed_hardware_fwk" 1950a07fd2Sopenharmony_cimediastandard_path = "//foundation/multimedia/player_framework" 2050a07fd2Sopenharmony_cimediastandardfwk_path = 2150a07fd2Sopenharmony_ci "//foundation/multimedia/audio_framework/interfaces/inner_api/native" 2250a07fd2Sopenharmony_ciaudio_framework_path = 2350a07fd2Sopenharmony_ci "//foundation/multimedia/audio_framework/frameworks/native" 2450a07fd2Sopenharmony_cidriver_audio_path = "//drivers/peripheral/audio/interfaces" 2550a07fd2Sopenharmony_ci 2650a07fd2Sopenharmony_cicommon_path = "${distributedaudio_path}/common" 2750a07fd2Sopenharmony_ciservices_path = "${distributedaudio_path}/services" 2850a07fd2Sopenharmony_ciaudio_client_path = "${services_path}/audioclient" 2950a07fd2Sopenharmony_ciaudio_control_path = "${services_path}/audiocontrol" 3050a07fd2Sopenharmony_ciaudio_hdi_proxy_path = "${services_path}/audiohdiproxy" 3150a07fd2Sopenharmony_ciaudio_processor_path = "${services_path}/audioprocessor" 3250a07fd2Sopenharmony_ciaudio_transport_path = "${services_path}/audiotransport" 3350a07fd2Sopenharmony_ciinterfaces_path = "${distributedaudio_path}/interfaces" 3450a07fd2Sopenharmony_cihdf_interfaces_path = "//drivers/interface/distributed_audio" 3550a07fd2Sopenharmony_cihdf_service_path = "//drivers/peripheral/distributed_audio" 3650a07fd2Sopenharmony_cihdf_ser_aud_path = "${hdf_service_path}/hdi_service/audio/v1_0" 3750a07fd2Sopenharmony_cihdf_ser_aud_ext_path = "${hdf_service_path}/hdi_service/audio_ext/v1_0" 3850a07fd2Sopenharmony_ci 3950a07fd2Sopenharmony_cifwk_utils_path = "${distributedhardwarefwk_path}/utils" 4050a07fd2Sopenharmony_cifwk_common_path = "${distributedhardwarefwk_path}/common" 4150a07fd2Sopenharmony_cifwk_services_path = "${distributedhardwarefwk_path}/services" 4250a07fd2Sopenharmony_ciinnerkits_path = "${distributedaudio_path}/interfaces/inner_kits" 4350a07fd2Sopenharmony_ci 4450a07fd2Sopenharmony_cidistributedaudio_fuzz_path = "distributed_audio/distributed_audio" 4550a07fd2Sopenharmony_ci 4650a07fd2Sopenharmony_cibuild_flags = [ "-Werror" ] 4750a07fd2Sopenharmony_ci 4850a07fd2Sopenharmony_cideclare_args() { 4950a07fd2Sopenharmony_ci distributed_audio_extension_sa = false 5050a07fd2Sopenharmony_ci device_security_level_control = true 5150a07fd2Sopenharmony_ci 5250a07fd2Sopenharmony_ci if (defined(global_parts_info) && 5350a07fd2Sopenharmony_ci !defined(global_parts_info.security_device_security_level)) { 5450a07fd2Sopenharmony_ci device_security_level_control = false 5550a07fd2Sopenharmony_ci } 5650a07fd2Sopenharmony_ci} 57