Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted

This commit is contained in:
Masatoshi Kimura 2013-01-03 00:56:38 +09:00
parent 872525f605
commit ecc812a3c0
60 changed files with 150 additions and 25 deletions

View File

@ -18,6 +18,9 @@ else
. $topsrcdir/build/win32/mozconfig.vs2010 . $topsrcdir/build/win32/mozconfig.vs2010
fi fi
# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors
# Package js shell. # Package js shell.
export MOZ_PACKAGE_JSSHELL=1 export MOZ_PACKAGE_JSSHELL=1

View File

@ -27,6 +27,9 @@ else
. $topsrcdir/build/win32/mozconfig.vs2010 . $topsrcdir/build/win32/mozconfig.vs2010
fi fi
# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors
# Package js shell. # Package js shell.
export MOZ_PACKAGE_JSSHELL=1 export MOZ_PACKAGE_JSSHELL=1

View File

@ -24,6 +24,9 @@ else
. $topsrcdir/build/win32/mozconfig.vs2010 . $topsrcdir/build/win32/mozconfig.vs2010
fi fi
# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors
# Package js shell. # Package js shell.
export MOZ_PACKAGE_JSSHELL=1 export MOZ_PACKAGE_JSSHELL=1

View File

@ -13,6 +13,9 @@ if test -z "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j1 mk_add_options MOZ_MAKE_FLAGS=-j1
fi fi
# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors
# Package js shell. # Package js shell.
export MOZ_PACKAGE_JSSHELL=1 export MOZ_PACKAGE_JSSHELL=1

View File

@ -22,6 +22,9 @@ if test -z "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j1 mk_add_options MOZ_MAKE_FLAGS=-j1
fi fi
# Treat warnings as errors in directories with FAIL_ON_WARNINGS.
ac_add_options --enable-warnings-as-errors
# Package js shell. # Package js shell.
export MOZ_PACKAGE_JSSHELL=1 export MOZ_PACKAGE_JSSHELL=1

View File

@ -8,13 +8,14 @@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconcvs_s LIBRARY_NAME = gkconcvs_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla/dom EXPORTS_NAMESPACES = mozilla/dom

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconevents_s LIBRARY_NAME = gkconevents_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \
nsEventStateManager.h \ nsEventStateManager.h \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconhtmlcon_s LIBRARY_NAME = gkconhtmlcon_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconhtmldoc_s LIBRARY_NAME = gkconhtmldoc_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \
nsHTMLContentSink.cpp \ nsHTMLContentSink.cpp \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkcontentmathml_s LIBRARY_NAME = gkcontentmathml_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \
nsMathMLElement.cpp \ nsMathMLElement.cpp \

View File

@ -6,13 +6,15 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconmedia_s LIBRARY_NAME = gkconmedia_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \
AbstractMediaDecoder.h \ AbstractMediaDecoder.h \

View File

@ -6,13 +6,15 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconogg_s LIBRARY_NAME = gkconogg_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS += \ EXPORTS += \

View File

@ -7,13 +7,15 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconraw_s LIBRARY_NAME = gkconraw_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS += \ EXPORTS += \
RawDecoder.h \ RawDecoder.h \

View File

@ -6,13 +6,15 @@ DEPTH := @DEPTH@
topsrcdir := @top_srcdir@ topsrcdir := @top_srcdir@
srcdir := @srcdir@ srcdir := @srcdir@
VPATH := @srcdir@ VPATH := @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE := content MODULE := content
LIBRARY_NAME := gkconwebaudio_s LIBRARY_NAME := gkconwebaudio_s
LIBXUL_LIBRARY := 1 LIBXUL_LIBRARY := 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
CPPSRCS := \ CPPSRCS := \
AudioBuffer.cpp \ AudioBuffer.cpp \

View File

@ -7,10 +7,13 @@ topsrcdir := @top_srcdir@
srcdir := @srcdir@ srcdir := @srcdir@
VPATH := @srcdir@ VPATH := @srcdir@
relativesrcdir := @relativesrcdir@ relativesrcdir := @relativesrcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
LOCAL_INCLUDES := -I$(srcdir)/.. LOCAL_INCLUDES := -I$(srcdir)/..
CPP_UNIT_TESTS := \ CPP_UNIT_TESTS := \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkconsmil_s LIBRARY_NAME = gkconsmil_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \
nsISMILAnimationElement.h \ nsISMILAnimationElement.h \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = content MODULE = content
LIBRARY_NAME = gkcontentsvg_s LIBRARY_NAME = gkcontentsvg_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \
DOMSVGAnimatedLengthList.cpp \ DOMSVGAnimatedLengthList.cpp \

View File

@ -25,7 +25,9 @@ XPIDL_MODULE = dom_audiochannel
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = \ EXPORTS_NAMESPACES = \
mozilla/dom \ mozilla/dom \

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -15,6 +14,9 @@ MODULE = dom
LIBRARY_NAME = jsdombase_s LIBRARY_NAME = jsdombase_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
DIRS = \ DIRS = \
test \ test \

View File

@ -14,7 +14,9 @@ LIBRARY_NAME = domdevicestorage_s
XPIDL_MODULE = dom_devicestorage XPIDL_MODULE = dom_devicestorage
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
include $(topsrcdir)/dom/dom-config.mk include $(topsrcdir)/dom/dom-config.mk

View File

@ -6,7 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -15,6 +14,9 @@ LIBRARY_NAME = domfile_s
XPIDL_MODULE = dom_file XPIDL_MODULE = dom_file
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
include $(topsrcdir)/dom/dom-config.mk include $(topsrcdir)/dom/dom-config.mk

View File

@ -6,7 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -15,6 +14,9 @@ LIBRARY_NAME = dom_indexeddb_s
XPIDL_MODULE = dom_indexeddb XPIDL_MODULE = dom_indexeddb
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla/dom/indexedDB EXPORTS_NAMESPACES = mozilla/dom/indexedDB

View File

@ -14,7 +14,9 @@ LIBRARY_NAME = domipc_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT)) ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
TEST_DIRS += tests TEST_DIRS += tests

View File

@ -15,7 +15,9 @@ XPIDL_MODULE = dom_media
LIBRARY_NAME = dom_media_s LIBRARY_NAME = dom_media_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
include $(topsrcdir)/dom/dom-config.mk include $(topsrcdir)/dom/dom-config.mk

View File

@ -12,7 +12,9 @@ include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = dom_network_s LIBRARY_NAME = dom_network_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXTRA_COMPONENTS = \ EXTRA_COMPONENTS = \
TCPSocket.js \ TCPSocket.js \

View File

@ -71,7 +71,9 @@ else
# android_npapi.h extends the NPNVariable and NPPVariable enums # android_npapi.h extends the NPNVariable and NPPVariable enums
# using #defines, which results in Wswitch warnings in gcc-4.6. # using #defines, which results in Wswitch warnings in gcc-4.6.
# Therefore, enable FAIL_ON_WARNINGS only on non-Android platforms. # Therefore, enable FAIL_ON_WARNINGS only on non-Android platforms.
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
endif endif
ifeq ($(OS_ARCH),WINNT) ifeq ($(OS_ARCH),WINNT)

View File

@ -6,11 +6,13 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = dom MODULE = dom
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla EXPORTS_NAMESPACES = mozilla

View File

@ -7,13 +7,15 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = nptest MODULE = nptest
LIBRARY_NAME = nptest LIBRARY_NAME = nptest
MODULE_NAME = TestPlugin MODULE_NAME = TestPlugin
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
DIRS = secondplugin DIRS = secondplugin

View File

@ -13,7 +13,9 @@ LIBRARY_NAME = dom_power_s
XPIDL_MODULE = dom_power XPIDL_MODULE = dom_power
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
include $(topsrcdir)/dom/dom-config.mk include $(topsrcdir)/dom/dom-config.mk

View File

@ -23,7 +23,9 @@ endif
LIBRARY_NAME = dom_sms_s LIBRARY_NAME = dom_sms_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
include $(topsrcdir)/dom/dom-config.mk include $(topsrcdir)/dom/dom-config.mk

View File

@ -14,7 +14,9 @@ LIBRARY_NAME = dom_time_s
XPIDL_MODULE = dom_time XPIDL_MODULE = dom_time
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
include $(topsrcdir)/dom/dom-config.mk include $(topsrcdir)/dom/dom-config.mk

View File

@ -6,7 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -14,6 +13,9 @@ MODULE = dom
LIBRARY_NAME = domworkers_s LIBRARY_NAME = domworkers_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \
ChromeWorkerScope.cpp \ ChromeWorkerScope.cpp \

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -17,6 +16,9 @@ EXPORT_LIBRARY = 1
IS_COMPONENT = 1 IS_COMPONENT = 1
MODULE_NAME = nsComposerModule MODULE_NAME = nsComposerModule
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ TEST_DIRS += tests
MODULE = editor MODULE = editor
LIBRARY_NAME = editorbase_s LIBRARY_NAME = editorbase_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
# Internal header files, needed by other editor sublibs: # Internal header files, needed by other editor sublibs:

View File

@ -13,7 +13,9 @@ MODULE = gl
LIBRARY_NAME = gl LIBRARY_NAME = gl
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \
GLDefs.h \ GLDefs.h \

View File

@ -17,7 +17,9 @@ EXPORT_LIBRARY = 1
GRE_MODULE = 1 GRE_MODULE = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
IS_COMPONENT = 1 IS_COMPONENT = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
XPIDLSRCS = \ XPIDLSRCS = \
nsIFontEnumerator.idl \ nsIFontEnumerator.idl \

View File

@ -17,7 +17,9 @@ IS_COMPONENT = 1
MODULE_NAME = nsImageLib2Module MODULE_NAME = nsImageLib2Module
GRE_MODULE = 1 GRE_MODULE = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \
nsImageModule.cpp \ nsImageModule.cpp \

View File

@ -16,7 +16,9 @@ FORCE_STATIC_LIB = 1
MODULE_NAME = nsImageLib2Module MODULE_NAME = nsImageLib2Module
GRE_MODULE = 1 GRE_MODULE = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS = imgLoader.h \ EXPORTS = imgLoader.h \

View File

@ -17,7 +17,9 @@ XPIDL_MODULE = layout_base
GRE_MODULE = 1 GRE_MODULE = 1
LIBRARY_NAME = gkbase_s LIBRARY_NAME = gkbase_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER

View File

@ -22,7 +22,9 @@ IS_COMPONENT = 1
MODULE_NAME = nsLayoutModule MODULE_NAME = nsLayoutModule
GRE_MODULE = 1 GRE_MODULE = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \

View File

@ -18,7 +18,9 @@ MODULE = layout
XPIDL_MODULE = layout_forms XPIDL_MODULE = layout_forms
LIBRARY_NAME = gkforms_s LIBRARY_NAME = gkforms_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
XPIDLSRCS = nsICapturePicker.idl XPIDLSRCS = nsICapturePicker.idl

View File

@ -14,7 +14,9 @@ TEST_DIRS += test
MODULE = layout MODULE = layout
LIBRARY_NAME = gkgeneric_s LIBRARY_NAME = gkgeneric_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \
nsQueryFrame.h \ nsQueryFrame.h \

View File

@ -14,7 +14,9 @@ LIBRARY_NAME = gkipc_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
EXPORT_LIBRARY = 1 EXPORT_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla/layout EXPORTS_NAMESPACES = mozilla/layout

View File

@ -14,7 +14,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = layout MODULE = layout
LIBRARY_NAME = gkmathml_s LIBRARY_NAME = gkmathml_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
LOCAL_INCLUDES = \ LOCAL_INCLUDES = \

View File

@ -14,7 +14,9 @@ XPIDL_MODULE = layout_printing
GRE_MODULE = 1 GRE_MODULE = 1
LIBRARY_NAME = gkprinting_s LIBRARY_NAME = gkprinting_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
XPIDLSRCS = \ XPIDLSRCS = \
nsIPrintProgress.idl \ nsIPrintProgress.idl \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = layout MODULE = layout
LIBRARY_NAME = gksvgbase_s LIBRARY_NAME = gksvgbase_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = layout MODULE = layout
LIBRARY_NAME = gktable_s LIBRARY_NAME = gktable_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER

View File

@ -13,7 +13,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = layout MODULE = layout
LIBRARY_NAME = gkxulbase_s LIBRARY_NAME = gkxulbase_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
ifdef MOZ_XUL ifdef MOZ_XUL

View File

@ -8,13 +8,15 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = necko MODULE = necko
LIBRARY_NAME = neckobase_s LIBRARY_NAME = neckobase_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS = \ EXPORTS = \
nsMIMEInputStream.h \ nsMIMEInputStream.h \

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -18,6 +17,9 @@ IS_COMPONENT = 1
MODULE_NAME = necko MODULE_NAME = necko
GRE_MODULE = 1 GRE_MODULE = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
CPPSRCS = nsNetModule.cpp CPPSRCS = nsNetModule.cpp
EXPORTS = nsNetCID.h EXPORTS = nsNetCID.h

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ LIBRARY_NAME = nkcache_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
XPIDL_MODULE = necko_cache XPIDL_MODULE = necko_cache
GRE_MODULE = 1 GRE_MODULE = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1

View File

@ -8,7 +8,6 @@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
relativesrcdir = @relativesrcdir@ relativesrcdir = @relativesrcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ include $(DEPTH)/config/autoconf.mk
MODULE = necko MODULE = necko
XPIDL_MODULE = necko_cookie XPIDL_MODULE = necko_cookie
GRE_MODULE = 1 GRE_MODULE = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
SDK_XPIDLSRCS = \ SDK_XPIDLSRCS = \
nsICookie.idl \ nsICookie.idl \

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ LIBRARY_NAME = neckodns_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
XPIDL_MODULE = necko_dns XPIDL_MODULE = necko_dns
GRE_MODULE = 1 GRE_MODULE = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
XPIDLSRCS = \ XPIDLSRCS = \
nsIDNSListener.idl \ nsIDNSListener.idl \

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -17,6 +16,9 @@ LIBXUL_LIBRARY = 1
XPIDL_MODULE = necko_http XPIDL_MODULE = necko_http
GRE_MODULE = 1 GRE_MODULE = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla/net EXPORTS_NAMESPACES = mozilla/net

View File

@ -7,7 +7,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ LIBRARY_NAME = nkres_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
XPIDL_MODULE = necko_res XPIDL_MODULE = necko_res
GRE_MODULE = 1 GRE_MODULE = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1

View File

@ -6,7 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ LIBXUL_LIBRARY = 1
XPIDL_MODULE = necko_websocket XPIDL_MODULE = necko_websocket
GRE_MODULE = 1 GRE_MODULE = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla/net EXPORTS_NAMESPACES = mozilla/net

View File

@ -6,7 +6,6 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS = 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
@ -16,6 +15,9 @@ LIBXUL_LIBRARY = 1
XPIDL_MODULE = necko_wyciwyg XPIDL_MODULE = necko_wyciwyg
GRE_MODULE = 1 GRE_MODULE = 1
FORCE_STATIC_LIB = 1 FORCE_STATIC_LIB = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
EXPORTS_NAMESPACES = mozilla/net EXPORTS_NAMESPACES = mozilla/net

View File

@ -7,13 +7,15 @@ DEPTH = @DEPTH@
topsrcdir = @top_srcdir@ topsrcdir = @top_srcdir@
srcdir = @srcdir@ srcdir = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = necko MODULE = necko
LIBRARY_NAME = nkcnvts_s LIBRARY_NAME = nkcnvts_s
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
CPPSRCS = \ CPPSRCS = \

View File

@ -16,7 +16,9 @@ FORCE_STATIC_LIB = 1
MODULE_NAME = nsViewModule MODULE_NAME = nsViewModule
GRE_MODULE = 1 GRE_MODULE = 1
LIBXUL_LIBRARY = 1 LIBXUL_LIBRARY = 1
ifndef _MSC_VER
FAIL_ON_WARNINGS := 1 FAIL_ON_WARNINGS := 1
endif # !_MSC_VER
DEFINES += -D_IMPL_NS_LAYOUT DEFINES += -D_IMPL_NS_LAYOUT

View File

@ -12,7 +12,9 @@ relativesrcdir = @relativesrcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
MODULE = xpcom MODULE = xpcom
ifndef _MSC_VER
FAIL_ON_WARNINGS = 1 FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
DIRS = \ DIRS = \
external \ external \