Skip to content

Commit a9e6f81

Browse files
authored
chromium-gn.inc: make alsa configurable (#751)
based on the DISTRO_FEATURE alsa Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
1 parent 939024c commit a9e6f81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ANY_OF_DISTRO_FEATURES = "opengl vulkan"
6565
# Append instead of assigning; the gtk-icon-cache class inherited above also
6666
# adds packages to DEPENDS.
6767
DEPENDS += " \
68-
alsa-lib \
68+
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa-lib', '', d)} \
6969
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'at-spi2-core', '', d)} \
7070
atk \
7171
bison-native \
@@ -158,6 +158,7 @@ GN_ARGS = " \
158158
is_component_build=${@bb.utils.contains('PACKAGECONFIG', 'component-build', 'true', 'false', d)} \
159159
use_gnome_keyring=false \
160160
use_kerberos=false \
161+
use_alsa=${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'true', 'false', d)} \
161162
use_pulseaudio=${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'true', 'false', d)} \
162163
use_system_libjpeg=true \
163164
"

0 commit comments

Comments
 (0)