1# Copyright (C) 2023 HiHope Open Source Organization . 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/ohos.gni") 15 16ohos_prebuilt_etc("hdf_audio_effect_json") { 17 source = "audio_effect.json" 18 19 relative_install_dir = "hdfconfig" 20 install_images = [ chip_prod_base_dir ] 21 subsystem_name = "hdf" 22 part_name = "product_ipcamera" 23} 24 25ohos_prebuilt_etc("hdf_audio_path_json") { 26 source = "audio_paths.json" 27 28 relative_install_dir = "hdfconfig" 29 install_images = [ chipset_base_dir ] 30 subsystem_name = "hdf" 31 part_name = "product_ipcamera" 32} 33 34ohos_prebuilt_etc("audio_policy_config") { 35 if (target_cpu == "arm64") { 36 source = "config/arm64/audio_policy_config.xml" 37 } else { 38 source = "config/arm/audio_policy_config.xml" 39 } 40 subsystem_name = "hdf" 41 relative_install_dir = "audio" 42 install_images = [ chipset_base_dir ] 43 part_name = "product_ipcamera" 44} 45 46group("hdf_audio_config") { 47 deps = [ 48 ":audio_policy_config", 49 ":hdf_audio_effect_json", 50 ":hdf_audio_path_json", 51 ] 52} 53 54group("hdi_service_st") { 55 testonly = true 56 deps = [ "//drivers/peripheral/audio/test/systemtest/hdi_service/rk3568:hdi_service_hardwaredependence" ] 57} 58