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

@ -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 += [

View file

@ -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')