1# Copyright (c) Hisilicon Technologies Co., Ltd. 2021-2021. All rights reserved. 2 3import("//build/ohos.gni") 4 5group("vendor_audio") { 6 deps = [ 7 ":audio_primary_port", 8 ":hal_common", 9 ":hdi_audio", 10 ] 11} 12 13board = "hi3516dv300" 14if ("${product_name}" == "hispark_phoenix") { 15 board = "hi3751v350" 16} 17 18if ("${product_name}" == "Hi3751V350") { 19 board = "hi3751v350" 20} 21 22ohos_prebuilt_shared_library("hdi_audio") { 23 source = "${board}/linux_standard/libs/libhdi_audio.z.so" 24 install_enable = true 25 install_images = [ chipset_base_dir ] 26 subsystem_name = "hdf" 27 part_name = "audio_device_driver" 28} 29 30ohos_prebuilt_shared_library("audio_primary_port") { 31 source = "${board}/linux_standard/libs/libaudio_primary_port.so" 32 install_enable = true 33 install_images = [ chipset_base_dir ] 34 subsystem_name = "hdf" 35 part_name = "audio_device_driver" 36} 37 38ohos_prebuilt_shared_library("hal_common") { 39 source = "../common/${board}/linux_standard/libs/libmedia_hal_common.so" 40 install_enable = true 41 install_images = [ chipset_base_dir ] 42 subsystem_name = "hdf" 43 part_name = "audio_device_driver" 44} 45