1# Copyright (c) 2021-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") 15libsndfile_dir = "//third_party/libsnd" 16 17group("pulseaudio_packages") { 18 deps = [ 19 "$libsndfile_dir:sndfile", 20 "src:pa_client_config", 21 "src:pa_daemon_config", 22 "src:pa_default_config", 23 "src:pulsecommon", 24 "src/daemon:pulseaudio", 25 "src/modules:native-modules", 26 "src/pulse:pulse", 27 "src/pulse:pulse-mainloop-glib", 28 "src/pulse:pulse-simple", 29 "src/pulsecore:cli", 30 "src/pulsecore:protocol-cli", 31 "src/pulsecore:protocol-native", 32 "src/pulsecore:pulsecore", 33 "src/utils:pacat", 34 "src/utils:pacmd", 35 "src/utils:pactl", 36 ] 37} 38 39action("gen_config_header") { 40 script = "ohos_paconfig.sh" 41 42 args = [ 43 rebase_path("//third_party/pulseaudio", root_build_dir), 44 rebase_path("${target_gen_dir}/", root_build_dir), 45 ] 46 47 outputs = [ "${target_gen_dir}/config.h" ] 48} 49