Use MOZ_PHOENIX instead of checking for 'browser' in MOZ_BUILD_APP

This commit is contained in:
NTD 2018-02-03 08:22:52 -05:00 committed by Roy Tam
commit 28bbfef589
21 changed files with 35 additions and 24 deletions

View file

@ -740,7 +740,7 @@ class MachCommandConditions(object):
def is_firefox(cls):
"""Must have a Firefox build."""
if hasattr(cls, 'substs'):
return cls.substs.get('MOZ_BUILD_APP') == 'browser'
return cls.substs.get('MOZ_PHOENIX') == 1
return False
@staticmethod