Bug 1206801 - fix broken CONFIG['DEBUG'] checks in moz.build files; r=mshal

These were supposed to be CONFIG['MOZ_DEBUG'].  webapprt doesn't use the
define it set up, however, so it was deleted rather than fixed.
This commit is contained in:
Nathan Froyd 2015-09-21 22:32:15 -04:00
parent 6f2e216df4
commit 5b217ceaf0
3 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,6 @@ SOURCES += [
] ]
DEFINES['XPCOM_GLUE'] = True DEFINES['XPCOM_GLUE'] = True
if CONFIG['DEBUG']:
DEFINES['DEBUG'] = True
DEFINES['APP_VERSION'] = CONFIG['FIREFOX_VERSION'] DEFINES['APP_VERSION'] = CONFIG['FIREFOX_VERSION']

View File

@ -70,7 +70,7 @@ SOURCES += [
'nsNativeThemeCocoa.mm', 'nsNativeThemeCocoa.mm',
] ]
if not CONFIG['RELEASE_BUILD'] or CONFIG['DEBUG']: if not CONFIG['RELEASE_BUILD'] or CONFIG['MOZ_DEBUG']:
SOURCES += [ SOURCES += [
'nsSandboxViolationSink.mm', 'nsSandboxViolationSink.mm',
] ]

View File

@ -13,7 +13,7 @@ SOURCES += [
] ]
DEFINES['XULRUNNER_PROGNAME'] = '"xulrunner"' DEFINES['XULRUNNER_PROGNAME'] = '"xulrunner"'
if CONFIG['DEBUG']: if CONFIG['MOZ_DEBUG']:
DEFINES['DEBUG'] = True DEFINES['DEBUG'] = True
LOCAL_INCLUDES += [ LOCAL_INCLUDES += [