summaryrefslogtreecommitdiff
path: root/dom/base
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-03-01 14:26:41 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-03-01 14:26:41 -0500
commit11a8a39f6d2e057d51559c52c1bf0ba74bbfe189 (patch)
tree06ace3e2923e6ca0fafe4453dac5988c54387eb6 /dom/base
parent17e72c824ed54ced83a2943237340f8d1b7b1824 (diff)
downloaduxp-11a8a39f6d2e057d51559c52c1bf0ba74bbfe189.tar.gz
Use MOZ_FENNEC and MOZ_XULRUNNER instead of checking MOZ_BUILD_APP in most places
Diffstat (limited to 'dom/base')
-rw-r--r--dom/base/moz.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/moz.build b/dom/base/moz.build
index 0bc9902e44..686d76e731 100644
--- a/dom/base/moz.build
+++ b/dom/base/moz.build
@@ -411,7 +411,7 @@ EXTRA_COMPONENTS += [
]
# Firefox for Android provides an alternate version of this component
-if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
+if not CONFIG['MOZ_FENNEC']:
EXTRA_COMPONENTS += [
'SiteSpecificUserAgent.js',
'SiteSpecificUserAgent.manifest',
@@ -472,7 +472,7 @@ include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
-if CONFIG['MOZ_BUILD_APP'] in ['mobile/android', 'xulrunner'] or CONFIG['MOZ_PHOENIX']:
+if CONFIG['MOZ_PHOENIX'] or CONFIG['MOZ_FENNEC'] or CONFIG['MOZ_XULRUNNER']:
DEFINES['HAVE_SIDEBAR'] = True
if CONFIG['MOZ_X11']: