Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps

This commit is contained in:
Chris Peterson 2014-12-04 01:11:14 -08:00
parent 47091050b7
commit 9cad8a95ff
7 changed files with 21 additions and 1 deletions

View File

@ -18,4 +18,7 @@ UNIFIED_SOURCES += [
LOCAL_INCLUDES += [
'..',
]
]
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -31,3 +31,5 @@ LOCAL_INCLUDES += [
'/dom/media/webaudio',
]
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -30,3 +30,6 @@ if CONFIG['GNU_CC']:
'-Wno-sign-compare',
'-Wno-type-limits',
]
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -37,3 +37,6 @@ if CONFIG['_MSC_VER']:
if CONFIG['ENABLE_INTL_API']:
CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -71,3 +71,6 @@ TEST_DIRS += ['tests']
GENERATED_INCLUDES += ['/xpcom']
DISABLE_STL_WRAPPING = True
if CONFIG['CLANG_CXX'] or CONFIG['_MSC_VER']:
FAIL_ON_WARNINGS = True

View File

@ -20,3 +20,6 @@ FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/rdf/base',
]
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -162,3 +162,6 @@ LOCAL_INCLUDES += [
if CONFIG['MOZ_WIDGET_GTK']:
CXXFLAGS += CONFIG['TK_CFLAGS']
if CONFIG['_MSC_VER']:
FAIL_ON_WARNINGS = True