1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:27:35 +00:00

Meta: Port bc4d4f0f95 to gn build

This commit is contained in:
Andrew Kaster 2023-08-04 14:18:45 -06:00
parent 777fb44bb0
commit 616e61ee23
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,13 @@
import("//Meta/gn/build/libs/pulse/enable.gni")
config("pulseaudio_config") {
visibility = [ ":pulse" ]
libs = [ "pulse" ]
defines = [ "HAVE_PULSEAUDIO" ]
}
group("pulse") {
if (enable_pulseaudio) {
public_configs = [ ":pulseaudio_config" ]
}
}

View file

@ -0,0 +1,4 @@
declare_args() {
# Select whether to build with PulseAudio support in LibAudio
enable_pulseaudio = current_os == "linux"
}