mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bd530b05fd
Since this directory has FAIL_ON_WARNINGS set, this will cause any shadowing warnings triggered by headers included in layout/style to cause errors. Once this patch is reviewed, I'll write and attach patches to fix the warnings needed to land this.
178 lines
3.7 KiB
Makefile
178 lines
3.7 KiB
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
DIRS = xbl-marquee
|
|
|
|
ifdef ENABLE_TESTS
|
|
TOOL_DIRS = test
|
|
endif
|
|
|
|
MODULE = layout
|
|
LIBRARY_NAME = gkstyle_s
|
|
LIBXUL_LIBRARY = 1
|
|
ifndef _MSC_VER
|
|
FAIL_ON_WARNINGS = 1
|
|
endif # !_MSC_VER
|
|
|
|
ifdef GNU_CC
|
|
OS_CFLAGS := $(OS_CFLAGS) -Wshadow
|
|
OS_CXXFLAGS := $(OS_CXXFLAGS) -Wshadow
|
|
endif
|
|
|
|
EXPORTS_NAMESPACES = mozilla/css mozilla/dom
|
|
|
|
EXPORTS = \
|
|
AnimationCommon.h \
|
|
nsAnimationManager.h \
|
|
nsCSSAnonBoxList.h \
|
|
nsCSSAnonBoxes.h \
|
|
nsCSSFontDescList.h \
|
|
nsCSSKeywordList.h \
|
|
nsCSSKeywords.h \
|
|
nsCSSParser.h \
|
|
nsCSSPropAliasList.h \
|
|
nsCSSPropList.h \
|
|
nsCSSProperty.h \
|
|
nsCSSProps.h \
|
|
nsCSSPseudoClassList.h \
|
|
nsCSSPseudoClasses.h \
|
|
nsCSSPseudoElementList.h \
|
|
nsCSSPseudoElements.h \
|
|
nsCSSRuleProcessor.h \
|
|
nsCSSStyleSheet.h \
|
|
nsCSSValue.h \
|
|
nsDOMCSSAttrDeclaration.h \
|
|
nsDOMCSSDeclaration.h \
|
|
nsDOMCSSRGBColor.h \
|
|
nsDOMMediaQueryList.h \
|
|
nsICSSDeclaration.h \
|
|
nsICSSLoaderObserver.h \
|
|
nsICSSPseudoComparator.h \
|
|
nsICSSRuleList.h \
|
|
nsICSSStyleRuleDOMWrapper.h \
|
|
nsIStyleRule.h \
|
|
nsIStyleRuleProcessor.h \
|
|
nsIStyleSheet.h \
|
|
nsLayoutStylesheetCache.h \
|
|
nsRuleData.h \
|
|
nsRuleNode.h \
|
|
nsRuleProcessorData.h \
|
|
nsRuleWalker.h \
|
|
nsStyleAnimation.h \
|
|
nsStyleContext.h \
|
|
nsStyleCoord.h \
|
|
nsStyleSet.h \
|
|
nsStyleStruct.h \
|
|
nsStyleStructFwd.h \
|
|
nsStyleStructInlines.h \
|
|
nsStyleStructList.h \
|
|
nsStyleTransformMatrix.h \
|
|
nsStyleUtil.h \
|
|
$(NULL)
|
|
|
|
EXPORTS_mozilla/css = \
|
|
Declaration.h \
|
|
ErrorReporter.h \
|
|
GroupRule.h \
|
|
ImageLoader.h \
|
|
ImportRule.h \
|
|
Loader.h \
|
|
NameSpaceRule.h \
|
|
Rule.h \
|
|
StyleRule.h \
|
|
$(NULL)
|
|
|
|
EXPORTS_mozilla/dom = \
|
|
CSS.h \
|
|
CSSValue.h \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
AnimationCommon.cpp \
|
|
CSS.cpp \
|
|
nsCSSAnonBoxes.cpp \
|
|
nsCSSDataBlock.cpp \
|
|
Declaration.cpp \
|
|
ErrorReporter.cpp \
|
|
nsCSSKeywords.cpp \
|
|
ImageLoader.cpp \
|
|
Loader.cpp \
|
|
nsAnimationManager.cpp \
|
|
nsCSSParser.cpp \
|
|
nsCSSProps.cpp \
|
|
nsCSSPseudoClasses.cpp \
|
|
nsCSSPseudoElements.cpp \
|
|
nsCSSRuleProcessor.cpp \
|
|
nsCSSRules.cpp \
|
|
nsCSSScanner.cpp \
|
|
nsCSSStyleSheet.cpp \
|
|
nsCSSValue.cpp \
|
|
nsComputedDOMStyle.cpp \
|
|
nsDOMCSSAttrDeclaration.cpp \
|
|
nsDOMCSSDeclaration.cpp \
|
|
nsDOMCSSRGBColor.cpp \
|
|
nsDOMCSSRect.cpp \
|
|
nsDOMCSSValueList.cpp \
|
|
nsDOMMediaQueryList.cpp \
|
|
nsFontFaceLoader.cpp \
|
|
nsHTMLCSSStyleSheet.cpp \
|
|
nsHTMLStyleSheet.cpp \
|
|
nsLayoutStylesheetCache.cpp \
|
|
nsMediaFeatures.cpp \
|
|
nsNthIndexCache.cpp \
|
|
nsROCSSPrimitiveValue.cpp \
|
|
nsRuleData.cpp \
|
|
nsRuleNode.cpp \
|
|
nsStyleAnimation.cpp \
|
|
nsStyleContext.cpp \
|
|
nsStyleCoord.cpp \
|
|
nsStyleSet.cpp \
|
|
nsStyleStruct.cpp \
|
|
nsStyleTransformMatrix.cpp \
|
|
nsStyleUtil.cpp \
|
|
nsTransitionManager.cpp \
|
|
StyleRule.cpp \
|
|
$(NULL)
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../base \
|
|
-I$(topsrcdir)/dom/base \
|
|
-I$(srcdir)/../generic \
|
|
-I$(srcdir)/../xul/base/src \
|
|
-I$(srcdir)/../../content/base/src \
|
|
-I$(srcdir)/../../content/html/content/src \
|
|
-I$(srcdir)/../../content/xbl/src \
|
|
-I$(srcdir)/../../content/xul/document/src \
|
|
$(NULL)
|
|
|
|
_FILES = \
|
|
contenteditable.css \
|
|
designmode.css \
|
|
TopLevelImageDocument.css \
|
|
TopLevelVideoDocument.css \
|
|
$(NULL)
|
|
|
|
GARBAGE += $(addprefix $(DIST)/bin/res/,$(_FILES))
|
|
|
|
libs:: $(_FILES)
|
|
$(INSTALL) $^ $(DIST)/bin/res
|
|
|
|
install:: $(_FILES)
|
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/res
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|