mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Meta: Port bc4d4f0f95
to gn build
This commit is contained in:
parent
777fb44bb0
commit
616e61ee23
3 changed files with 27 additions and 0 deletions
13
Meta/gn/build/libs/pulse/BUILD.gn
Normal file
13
Meta/gn/build/libs/pulse/BUILD.gn
Normal 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" ]
|
||||
}
|
||||
}
|
4
Meta/gn/build/libs/pulse/enable.gni
Normal file
4
Meta/gn/build/libs/pulse/enable.gni
Normal file
|
@ -0,0 +1,4 @@
|
|||
declare_args() {
|
||||
# Select whether to build with PulseAudio support in LibAudio
|
||||
enable_pulseaudio = current_os == "linux"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue