summaryrefslogtreecommitdiffstats
path: root/python/mozbuild
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-03 08:22:52 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-03 08:22:52 -0500
commit7239cc8c7e9c140be6858c659d942f6d71283531 (patch)
treea253fdf254e4c0cb87c0fcf69c8b3b5761f31530 /python/mozbuild
parent6ff7b85d14eeb64216e7cba5d76beeb2c485045e (diff)
downloadUXP-7239cc8c7e9c140be6858c659d942f6d71283531.tar
UXP-7239cc8c7e9c140be6858c659d942f6d71283531.tar.gz
UXP-7239cc8c7e9c140be6858c659d942f6d71283531.tar.lz
UXP-7239cc8c7e9c140be6858c659d942f6d71283531.tar.xz
UXP-7239cc8c7e9c140be6858c659d942f6d71283531.zip
Use MOZ_PHOENIX instead of checking for 'browser' in MOZ_BUILD_APP
Diffstat (limited to 'python/mozbuild')
-rw-r--r--python/mozbuild/mozbuild/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mozbuild/mozbuild/base.py b/python/mozbuild/mozbuild/base.py
index a50b8ff89..9ca689009 100644
--- a/python/mozbuild/mozbuild/base.py
+++ b/python/mozbuild/mozbuild/base.py
@@ -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