10a7ce71fSopenharmony_ci# Copyright (c) 2021-2023 Huawei Device Co., Ltd. 20a7ce71fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 30a7ce71fSopenharmony_ci# you may not use this file except in compliance with the License. 40a7ce71fSopenharmony_ci# You may obtain a copy of the License at 50a7ce71fSopenharmony_ci# 60a7ce71fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 70a7ce71fSopenharmony_ci# 80a7ce71fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 90a7ce71fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 100a7ce71fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 110a7ce71fSopenharmony_ci# See the License for the specific language governing permissions and 120a7ce71fSopenharmony_ci# limitations under the License. 130a7ce71fSopenharmony_ci 140a7ce71fSopenharmony_ciimport("//build/ohos.gni") 150a7ce71fSopenharmony_ci 160a7ce71fSopenharmony_ciohos_prebuilt_etc("audio_policy_config") { 170a7ce71fSopenharmony_ci source = "config/audio_policy_config.xml" 180a7ce71fSopenharmony_ci 190a7ce71fSopenharmony_ci relative_install_dir = "audio" 200a7ce71fSopenharmony_ci install_images = [ chipset_base_dir ] 210a7ce71fSopenharmony_ci 220a7ce71fSopenharmony_ci subsystem_name = "product_hisilicon" 230a7ce71fSopenharmony_ci part_name = "product_hispark_phoenix" 240a7ce71fSopenharmony_ci} 250a7ce71fSopenharmony_ci 260a7ce71fSopenharmony_ciohos_prebuilt_etc("audio_policy_config_new") { 270a7ce71fSopenharmony_ci source = "config/audio_policy_config_new.xml" 280a7ce71fSopenharmony_ci 290a7ce71fSopenharmony_ci relative_install_dir = "audio" 300a7ce71fSopenharmony_ci install_images = [ chipset_base_dir ] 310a7ce71fSopenharmony_ci 320a7ce71fSopenharmony_ci subsystem_name = "product_hisilicon" 330a7ce71fSopenharmony_ci part_name = "product_hispark_phoenix" 340a7ce71fSopenharmony_ci} 350a7ce71fSopenharmony_ci 360a7ce71fSopenharmony_cigroup("hdf_audio_config") { 370a7ce71fSopenharmony_ci deps = [ 380a7ce71fSopenharmony_ci ":audio_policy_config", 390a7ce71fSopenharmony_ci ":audio_policy_config_new", 400a7ce71fSopenharmony_ci ] 410a7ce71fSopenharmony_ci} 42