зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps
This commit is contained in:
Родитель
22d0c4b343
Коммит
e424225899
|
@ -19,3 +19,6 @@ UNIFIED_SOURCES += [
|
|||
LOCAL_INCLUDES += [
|
||||
'..',
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -31,3 +31,5 @@ LOCAL_INCLUDES += [
|
|||
'/dom/media/webaudio',
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -30,3 +30,6 @@ if CONFIG['GNU_CC']:
|
|||
'-Wno-sign-compare',
|
||||
'-Wno-type-limits',
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,3 +20,6 @@ FINAL_LIBRARY = 'xul'
|
|||
LOCAL_INCLUDES += [
|
||||
'/rdf/base',
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
|
@ -162,3 +162,6 @@ LOCAL_INCLUDES += [
|
|||
|
||||
if CONFIG['MOZ_WIDGET_GTK']:
|
||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
FAIL_ON_WARNINGS = True
|
||||
|
|
Загрузка…
Ссылка в новой задаче