Skip to content

Commit

Permalink
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Aug 22, 2013
1 parent 68aab51 commit 4807f1c
Show file tree
Hide file tree
Showing 390 changed files with 461 additions and 518 deletions.
16 changes: 0 additions & 16 deletions b2g/components/test/Makefile.in

This file was deleted.

3 changes: 3 additions & 0 deletions b2g/components/test/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
MODULE = 'B2GComponents'

XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/base/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconbase_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

ifdef MOZ_WEBRTC
LOCAL_INCLUDES += \
-I$(topsrcdir)/netwerk/sctp/datachannel \
Expand Down
3 changes: 3 additions & 0 deletions content/base/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@ EXTRA_PP_COMPONENTS += [
EXTRA_JS_MODULES += [
'CSPUtils.jsm',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/canvas/compiledtest/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ topsrcdir := @top_srcdir@
srcdir := @srcdir@
VPATH := @srcdir@

FAIL_ON_WARNINGS = 1

include $(DEPTH)/config/autoconf.mk

LOCAL_INCLUDES := \
Expand Down
2 changes: 2 additions & 0 deletions content/canvas/compiledtest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CPP_UNIT_TESTS += [
'TestWebGLElementArrayCache.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/canvas/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconcvs_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

ifdef MOZ_WEBGL
LOCAL_INCLUDES += \
-I$(topsrcdir)/js/xpconnect/wrappers \
Expand Down
3 changes: 3 additions & 0 deletions content/canvas/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ else:
CPP_SOURCES += [
'WebGLContextNotSupported.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/events/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconevents_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

Expand Down
3 changes: 3 additions & 0 deletions content/events/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ CPP_SOURCES += [

if CONFIG['MOZ_WEBSPEECH']:
CPP_SOURCES += ['SpeechRecognitionError.cpp']

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/html/content/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconhtmlcon_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

Expand Down
2 changes: 2 additions & 0 deletions content/html/content/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,5 @@ CPP_SOURCES += [
'nsTextEditorState.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/html/document/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk

MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk

LOCAL_INCLUDES += \
Expand Down
2 changes: 2 additions & 0 deletions content/html/document/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconhtmldoc_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/mathml/content/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME = gkcontentmathml_s
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

Expand Down
2 changes: 2 additions & 0 deletions content/mathml/content/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ CPP_SOURCES += [
'nsMathMLElementFactory.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconmedia_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

Expand Down
2 changes: 0 additions & 2 deletions content/media/directshow/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

FAIL_ON_WARNINGS := 1

LIBRARY_NAME = gkcondirectshow_s
LIBXUL_LIBRARY = 1

Expand Down
3 changes: 3 additions & 0 deletions content/media/directshow/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ if not CONFIG['MOZ_WEBRTC_IN_LIBXUL']:
TOPSRCDIR + '/media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp',
TOPSRCDIR + '/media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp',
]

FAIL_ON_WARNINGS = True

3 changes: 0 additions & 3 deletions content/media/encoder/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,4 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1


include $(topsrcdir)/config/rules.mk
2 changes: 2 additions & 0 deletions content/media/encoder/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ if CONFIG['MOZ_OPUS']:

LIBRARY_NAME = 'gkconencoder_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/gstreamer/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
Expand Down
2 changes: 2 additions & 0 deletions content/media/gstreamer/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkcongstreamer_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/mediasource/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME = gkconmediasource_s
Expand Down
2 changes: 2 additions & 0 deletions content/media/mediasource/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ CPP_SOURCES += [
'SourceBufferList.cpp',
]

FAIL_ON_WARNINGS = True

3 changes: 3 additions & 0 deletions content/media/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ CPP_SOURCES += [
'WebVTTLoadListener.cpp',
]

FAIL_ON_WARNINGS = True


if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['BUILD_ARM_NEON']:
CPP_SOURCES += [
'AudioNodeEngineNEON.cpp',
Expand Down
3 changes: 0 additions & 3 deletions content/media/ogg/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,4 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1


include $(topsrcdir)/config/rules.mk
2 changes: 2 additions & 0 deletions content/media/ogg/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconogg_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/raw/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS := 1

include $(topsrcdir)/config/rules.mk

INCLUDES += \
Expand Down
2 changes: 2 additions & 0 deletions content/media/raw/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconraw_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/wave/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
Expand Down
2 changes: 2 additions & 0 deletions content/media/wave/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconwave_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/webaudio/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME := gkconwebaudio_s
LIBXUL_LIBRARY := 1
FAIL_ON_WARNINGS := 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
2 changes: 0 additions & 2 deletions content/media/webaudio/compiledtest/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ relativesrcdir := @relativesrcdir@

include $(DEPTH)/config/autoconf.mk

FAIL_ON_WARNINGS = 1

LOCAL_INCLUDES := -I$(srcdir)/..

include $(topsrcdir)/config/rules.mk
2 changes: 2 additions & 0 deletions content/media/webaudio/compiledtest/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CPP_UNIT_TESTS += [
'TestAudioEventTimeline.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 2 additions & 0 deletions content/media/webaudio/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ CPP_SOURCES += [
'WebAudioUtils.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/webm/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
Expand Down
2 changes: 2 additions & 0 deletions content/media/webm/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconwebm_s'

FAIL_ON_WARNINGS = True

3 changes: 0 additions & 3 deletions content/media/webspeech/synth/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ DEPTH := @DEPTH@
topsrcdir := @top_srcdir@
srcdir := @srcdir@
VPATH := @srcdir@
FAIL_ON_WARNINGS := 1


include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/dom/dom-config.mk

Expand Down
3 changes: 3 additions & 0 deletions content/media/webspeech/synth/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ IPDL_SOURCES += [
'ipc/PSpeechSynthesis.ipdl',
'ipc/PSpeechSynthesisRequest.ipdl',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/media/wmf/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1

include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
Expand Down
2 changes: 2 additions & 0 deletions content/media/wmf/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconwmf_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/smil/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME = gkconsmil_s
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

LOCAL_INCLUDES += \
-I$(srcdir)/../base/src \
-I$(srcdir)/../../layout/style \
Expand Down
2 changes: 2 additions & 0 deletions content/smil/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ CPP_SOURCES += [
'nsSMILValue.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/svg/content/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME = gkcontentsvg_s
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

Expand Down
2 changes: 2 additions & 0 deletions content/svg/content/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -244,3 +244,5 @@ CPP_SOURCES += [
'nsSVGViewBox.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/svg/document/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk

LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk

INCLUDES += \
Expand Down
2 changes: 2 additions & 0 deletions content/svg/document/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ CPP_SOURCES += [

LIBRARY_NAME = 'gkconsvgdoc_s'

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/xbl/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gkconxbl_s
MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk

LOCAL_INCLUDES = \
Expand Down
2 changes: 2 additions & 0 deletions content/xbl/src/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ CPP_SOURCES += [
'XBLChildrenElement.cpp',
]

FAIL_ON_WARNINGS = True

2 changes: 0 additions & 2 deletions content/xml/content/src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk

MSVC_ENABLE_PGO := 1
LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1

include $(topsrcdir)/config/rules.mk

INCLUDES += \
Expand Down
Loading

0 comments on commit 4807f1c

Please sign in to comment.