зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1452509 - Require Jack package for --enable-jack build. r=froydnj
MozReview-Commit-ID: HT3ZCrEAN8Y --HG-- extra : rebase_source : 0fc577c097fcc390c79514019099680b3129c748
This commit is contained in:
Родитель
7b147808f6
Коммит
60f9bc442d
|
@ -88,6 +88,7 @@ if CONFIG['OS_TARGET'] == 'Android':
|
|||
FINAL_LIBRARY = 'gkmedias'
|
||||
|
||||
CFLAGS += CONFIG['MOZ_ALSA_CFLAGS']
|
||||
CFLAGS += CONFIG['MOZ_JACK_CFLAGS']
|
||||
CFLAGS += CONFIG['MOZ_PULSEAUDIO_CFLAGS']
|
||||
|
||||
# We allow warnings for third-party code that can be updated from upstream.
|
||||
|
|
|
@ -60,13 +60,10 @@ imply_option('--enable-replace-malloc', dmd)
|
|||
option('--enable-jack', env='MOZ_JACK',
|
||||
help='Enable JACK audio backend.')
|
||||
|
||||
@depends('--enable-jack')
|
||||
def jack(value):
|
||||
if value:
|
||||
return True
|
||||
jack = pkg_check_modules('MOZ_JACK', 'jack', when='--enable-jack')
|
||||
|
||||
set_config('MOZ_JACK', jack)
|
||||
set_define('MOZ_JACK', jack)
|
||||
set_config('MOZ_JACK', depends_if(jack)(lambda _: True))
|
||||
set_define('MOZ_JACK', depends_if(jack)(lambda _: True))
|
||||
|
||||
# Javascript engine
|
||||
# ==============================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче