summaryrefslogtreecommitdiffstats
path: root/devtools
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 /devtools
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 'devtools')
-rw-r--r--devtools/client/moz.build2
-rw-r--r--devtools/moz.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/moz.build b/devtools/client/moz.build
index b63de757c..b55aa5380 100644
--- a/devtools/client/moz.build
+++ b/devtools/client/moz.build
@@ -38,7 +38,7 @@ DIRS += [
]
# Shim old theme paths used by DevTools add-ons
-if CONFIG['MOZ_BUILD_APP'] == 'browser':
+if CONFIG['MOZ_PHOENIX']:
DIRS += ['themes/shims']
EXTRA_COMPONENTS += [
diff --git a/devtools/moz.build b/devtools/moz.build
index b11c4a510..79787d019 100644
--- a/devtools/moz.build
+++ b/devtools/moz.build
@@ -20,6 +20,6 @@ DIRS += [
# /browser uses DIST_SUBDIR. We opt-in to this treatment when building
# DevTools for the browser to keep the root omni.ja slim for use by external XUL
# apps. Mulet also uses this since it includes /browser.
-if CONFIG['MOZ_BUILD_APP'] in ('browser', 'b2g/dev'):
+if CONFIG['MOZ_BUILD_APP'] == 'b2g/dev' or CONFIG['MOZ_PHOENIX']:
DIST_SUBDIR = 'browser'
export('DIST_SUBDIR')