summaryrefslogtreecommitdiffstats
path: root/dom
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 /dom
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 'dom')
-rw-r--r--dom/base/moz.build2
-rw-r--r--dom/bindings/moz.build2
-rw-r--r--dom/webidl/moz.build4
3 files changed, 4 insertions, 4 deletions
diff --git a/dom/base/moz.build b/dom/base/moz.build
index d237acb03..0bc9902e4 100644
--- a/dom/base/moz.build
+++ b/dom/base/moz.build
@@ -472,7 +472,7 @@ include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
-if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
+if CONFIG['MOZ_BUILD_APP'] in ['mobile/android', 'xulrunner'] or CONFIG['MOZ_PHOENIX']:
DEFINES['HAVE_SIDEBAR'] = True
if CONFIG['MOZ_X11']:
diff --git a/dom/bindings/moz.build b/dom/bindings/moz.build
index fadaac69b..eb00482c6 100644
--- a/dom/bindings/moz.build
+++ b/dom/bindings/moz.build
@@ -139,7 +139,7 @@ FINAL_LIBRARY = 'xul'
SPHINX_TREES['webidl'] = 'docs'
SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen']
-if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
+if CONFIG['MOZ_BUILD_APP'] in ['mobile/android', 'xulrunner'] or CONFIG['MOZ_PHOENIX']:
# This is needed for Window.webidl
DEFINES['HAVE_SIDEBAR'] = True
diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build
index efa90230d..0b415d448 100644
--- a/dom/webidl/moz.build
+++ b/dom/webidl/moz.build
@@ -764,12 +764,12 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
'MozWifiStatusChangeEvent.webidl',
]
-if CONFIG['MOZ_BUILD_APP'] in ['browser', 'xulrunner'] or CONFIG['MOZ_SUITE']:
+if CONFIG['MOZ_BUILD_APP'] in ['xulrunner'] or CONFIG['MOZ_PHOENIX'] or CONFIG['MOZ_SUITE']:
WEBIDL_FILES += [
'BrowserFeedWriter.webidl',
]
-if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
+if CONFIG['MOZ_BUILD_APP'] in ['mobile/android', 'xulrunner'] or CONFIG['MOZ_PHOENIX']:
WEBIDL_FILES += [
'External.webidl',
]