1# Copyright (c) 2022-2022 Huawei Device Co., Ltd. 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 16group("pa_extend_modules") { 17 deps = [ 18 ":pa_client_config", 19 ":pa_daemon_config", 20 ":pa_default_config", 21 "capturer:module-inner-capturer-sink", 22 "hdi:module-hdi-sink", 23 "hdi:module-hdi-source", 24 "hdi:module-split-stream-sink", 25 ] 26 27 external_deps = [ 28 "pulseaudio:cli", 29 "pulseaudio:module-cli-protocol-unix", 30 "pulseaudio:module-native-protocol-fd", 31 "pulseaudio:module-native-protocol-tcp", 32 "pulseaudio:module-native-protocol-unix", 33 "pulseaudio:module-suspend-on-idle", 34 "pulseaudio:protocol-cli", 35 "pulseaudio:protocol-native", 36 "pulseaudio:pulse", 37 "pulseaudio:pulse-simple", 38 "pulseaudio:pulseaudio", 39 "pulseaudio:pulsecommon", 40 "pulseaudio:pulsecore", 41 "pulseaudio:sonic", 42 ] 43} 44 45ohos_prebuilt_etc("pa_daemon_config") { 46 source = "../conf/daemon.conf" 47 48 module_install_dir = "etc/pulse" 49 50 subsystem_name = "multimedia" 51 part_name = "audio_framework" 52} 53 54ohos_prebuilt_etc("pa_default_config") { 55 source = "../conf/default.pa" 56 module_install_dir = "etc/pulse" 57 58 subsystem_name = "multimedia" 59 part_name = "audio_framework" 60} 61 62ohos_prebuilt_etc("pa_client_config") { 63 source = "../conf/client.conf" 64 module_install_dir = "etc/pulse" 65 66 subsystem_name = "multimedia" 67 part_name = "audio_framework" 68} 69