mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1510785 - Add build option for disabling XBL. r=chmanchester
Defaults XBL to disabled on android, but still enabled for desktop. Differential Revision: https://phabricator.services.mozilla.com/D45612 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
eb2ce4c505
commit
8f5cb3d17d
@ -1335,6 +1335,21 @@ option('--enable-bundled-fonts', default=bundled_fonts_default,
|
||||
set_define('MOZ_BUNDLED_FONTS',
|
||||
depends_if('--enable-bundled-fonts', when=allow_bundled_fonts)(lambda _: True))
|
||||
|
||||
# XBL
|
||||
# ==============================================================
|
||||
|
||||
@depends(build_project)
|
||||
def xbl_default(project):
|
||||
return project != 'mobile/android'
|
||||
|
||||
option('--enable-xbl', default=xbl_default,
|
||||
when='--enable-compile-environment',
|
||||
help='{Enable|Disable} support for XBL (XML Binding Language)')
|
||||
set_define('MOZ_XBL',
|
||||
depends_if('--enable-xbl', when='--enable-compile-environment')(lambda _: True))
|
||||
set_config('MOZ_XBL',
|
||||
depends_if('--enable-xbl', when='--enable-compile-environment')(lambda _: True))
|
||||
|
||||
# Verify MAR signatures
|
||||
# ==============================================================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user