Skip to content

Commit

Permalink
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for a…
Browse files Browse the repository at this point in the history
…ll compilers. r=gps
  • Loading branch information
cpeterso committed Dec 5, 2014
1 parent 1dffcd0 commit 22d0c4b
Show file tree
Hide file tree
Showing 33 changed files with 65 additions and 1 deletion.
2 changes: 2 additions & 0 deletions accessible/base/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ if CONFIG['MOZ_ENABLE_GTK']:
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']

include('/ipc/chromium/chromium-config.mozbuild')

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions accessible/generic/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ else:
FINAL_LIBRARY = 'xul'

include('/ipc/chromium/chromium-config.mozbuild')

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions accessible/html/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ else:
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions accessible/mac/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ LOCAL_INCLUDES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions accessible/xul/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ else:
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
1 change: 1 addition & 0 deletions caps/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ LOCAL_INCLUDES += [

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions chrome/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ LOCAL_INCLUDES += [

if CONFIG['MOZ_ENABLE_GTK']:
CXXFLAGS += CONFIG['TK_CFLAGS']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions dom/media/android/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ LOCAL_INCLUDES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions dom/media/systemservices/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions dom/media/webspeech/recognition/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ LOCAL_INCLUDES += [
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions dom/plugins/ipc/interpose/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ UNIFIED_SOURCES += [
]

OS_LIBS += ['-framework Carbon']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions dom/wifi/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions dom/xul/templates/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ LOCAL_INCLUDES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions extensions/auth/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ else:
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions extensions/cookie/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ MSVC_ENABLE_PGO = True
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions extensions/permissions/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ UNIFIED_SOURCES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions extensions/pref/autoconfig/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ UNIFIED_SOURCES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
4 changes: 3 additions & 1 deletion gfx/tests/gtest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ UNIFIED_SOURCES += [
'TestTiledLayerBuffer.cpp',
]

# Because of gkmedia on windows we wont find these
# Because of gkmedia on windows we won't find these
# symbols in xul.dll.
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'windows':
UNIFIED_SOURCES += [ '%s/gfx/2d/unittest/%s' % (TOPSRCDIR, p) for p in [
Expand All @@ -48,3 +48,5 @@ LOCAL_INCLUDES += [
FINAL_LIBRARY = 'xul-gtest'

CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions gfx/ycbcr/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['HAVE_ARM_NEON']:
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions intl/chardet/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ UNIFIED_SOURCES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
1 change: 1 addition & 0 deletions intl/locale/mac/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ LOCAL_INCLUDES += [
'../../icu/source/i18n',
]

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions intl/locale/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ RESOURCE_FILES += [

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions intl/lwbrk/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ FINAL_LIBRARY = 'xul'

if CONFIG['MOZ_WIDGET_GTK']:
CXXFLAGS += CONFIG['MOZ_PANGO_CFLAGS']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions intl/strres/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ UNIFIED_SOURCES += [
MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions intl/unicharutil/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ UNIFIED_SOURCES += [
]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions intl/unicharutil/util/internal/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'..',
]

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions modules/libjar/zipwriter/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ UNIFIED_SOURCES += [
MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions modules/libpref/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ FINAL_LIBRARY = 'xul'

DEFINES['OS_ARCH'] = CONFIG['OS_ARCH']
DEFINES['MOZ_WIDGET_TOOLKIT'] = CONFIG['MOZ_WIDGET_TOOLKIT']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions profile/dirserviceprovider/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ FORCE_STATIC_LIB = True
DEFINES['XPCOM_GLUE'] = 1

DISABLE_STL_WRAPPING = True

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions tools/profiler/tests/gtest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ UNIFIED_SOURCES += [
]

FINAL_LIBRARY = 'xul-gtest'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions xpcom/reflect/xptinfo/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ LOCAL_INCLUDES += [
MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions xpcom/sample/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ RESOURCE_FILES.samples += [
# Need to link with CoreFoundation on Mac
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
OS_LIBS += CONFIG['TK_LIBS']

FAIL_ON_WARNINGS = True
2 changes: 2 additions & 0 deletions xpcom/string/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ if CONFIG['INTEL_ARCHITECTURE']:
MSVC_ENABLE_PGO = True

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True

0 comments on commit 22d0c4b

Please sign in to comment.