• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
18ohos_prebuilt_shared_library("hdi_audio") {
19  source = "${board}/linux_standard/libs/libhdi_audio.z.so"
20  install_enable = true
21  install_images = [ chipset_base_dir ]
22  subsystem_name = "hdf"
23  part_name = "drivers_peripheral_audio"
24}
25
26ohos_prebuilt_shared_library("audio_primary_port") {
27  source = "${board}/linux_standard/libs/libaudio_primary_port.so"
28  install_enable = true
29  install_images = [ chipset_base_dir ]
30  subsystem_name = "hdf"
31  part_name = "drivers_peripheral_audio"
32}
33
34ohos_prebuilt_shared_library("hal_common") {
35  source = "../common/${board}/linux_standard/libs/libmedia_hal_common.so"
36  install_enable = true
37  install_images = [ chipset_base_dir ]
38  subsystem_name = "hdf"
39  part_name = "drivers_peripheral_audio"
40}
41