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

This commit is contained in:
Chris Peterson 2014-12-10 22:46:01 -08:00
parent 249ac81315
commit c6bc5e0ec5
4 changed files with 12 additions and 0 deletions

View File

@ -47,3 +47,6 @@ else:
]
FINAL_LIBRARY = 'xul'
if CONFIG['GNU_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -39,3 +39,5 @@ LOCAL_INCLUDES += [
'/dom/base',
]
if not CONFIG['CLANG_CXX']:
FAIL_ON_WARNINGS = True

View File

@ -85,3 +85,6 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
DEFINES['IMPL_MFBT'] = True
LDFLAGS += CONFIG['MOZ_GLUE_WRAP_LDFLAGS']
if not CONFIG['_MSC_VER']:
FAIL_ON_WARNINGS = True

View File

@ -162,9 +162,13 @@ if CONFIG['MOZ_ENABLE_XREMOTE']:
if CONFIG['MOZ_B2G_LOADER']:
DEFINES['OMNIJAR_NAME'] = CONFIG['OMNIJAR_NAME']
CXXFLAGS += CONFIG['TK_CFLAGS']
CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
if CONFIG['MOZ_WIDGET_GTK']:
CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']
if CONFIG['OS_TARGET'] != 'Darwin':
FAIL_ON_WARNINGS = True