Bug 1587662 - Define MOZ_XBL for non-compiled environments too. r=nalexander

The MOZ_XBL define is also used in app constants and needs to be defined
for artifact builds.

Differential Revision: https://phabricator.services.mozilla.com/D48917

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Brendan Dahl 2019-10-10 22:36:15 +00:00
parent eb350d4f6b
commit 3cb490cb0b

View File

@ -1343,12 +1343,9 @@ 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))
set_define('MOZ_XBL', depends_if('--enable-xbl')(lambda _: True))
set_config('MOZ_XBL', depends_if('--enable-xbl')(lambda _: True))
# Verify MAR signatures
# ==============================================================