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