layout/style/moz.build

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:05908bcad818
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 DIRS += ['xbl-marquee']
8 TEST_TOOL_DIRS += ['test']
9
10 EXPORTS += [
11 'AnimationCommon.h',
12 'nsAnimationManager.h',
13 'nsComputedDOMStylePropertyList.h',
14 'nsCSSAnonBoxes.h',
15 'nsCSSAnonBoxList.h',
16 'nsCSSFontDescList.h',
17 'nsCSSKeywordList.h',
18 'nsCSSKeywords.h',
19 'nsCSSParser.h',
20 'nsCSSPropAliasList.h',
21 'nsCSSProperty.h',
22 'nsCSSPropList.h',
23 'nsCSSProps.h',
24 'nsCSSPseudoClasses.h',
25 'nsCSSPseudoClassList.h',
26 'nsCSSPseudoElementList.h',
27 'nsCSSPseudoElements.h',
28 'nsCSSRuleProcessor.h',
29 'nsCSSScanner.h',
30 'nsCSSStyleSheet.h',
31 'nsCSSValue.h',
32 'nsDOMCSSAttrDeclaration.h',
33 'nsDOMCSSDeclaration.h',
34 'nsDOMCSSRGBColor.h',
35 'nsICSSDeclaration.h',
36 'nsICSSLoaderObserver.h',
37 'nsICSSPseudoComparator.h',
38 'nsICSSRuleList.h',
39 'nsICSSStyleRuleDOMWrapper.h',
40 'nsIStyleRule.h',
41 'nsIStyleRuleProcessor.h',
42 'nsIStyleSheet.h',
43 'nsLayoutStylesheetCache.h',
44 'nsRuleData.h',
45 'nsRuleNode.h',
46 'nsRuleProcessorData.h',
47 'nsRuleWalker.h',
48 'nsStyleAnimation.h',
49 'nsStyleConsts.h',
50 'nsStyleContext.h',
51 'nsStyleCoord.h',
52 'nsStyleSet.h',
53 'nsStyleStruct.h',
54 'nsStyleStructFwd.h',
55 'nsStyleStructInlines.h',
56 'nsStyleTransformMatrix.h',
57 'nsStyleUtil.h',
58 ]
59
60 EXPORTS.mozilla += [
61 'CSSVariableDeclarations.h',
62 'CSSVariableResolver.h',
63 'CSSVariableValues.h',
64 ]
65
66 EXPORTS.mozilla.dom += [
67 'CSS.h',
68 'CSSValue.h',
69 'MediaQueryList.h',
70 ]
71
72 EXPORTS.mozilla.css += [
73 'Declaration.h',
74 'ErrorReporter.h',
75 'GroupRule.h',
76 'ImageLoader.h',
77 'ImportRule.h',
78 'Loader.h',
79 'NameSpaceRule.h',
80 'Rule.h',
81 'StyleRule.h',
82 ]
83
84 UNIFIED_SOURCES += [
85 'AnimationCommon.cpp',
86 'CSS.cpp',
87 'CSSVariableDeclarations.cpp',
88 'CSSVariableResolver.cpp',
89 'CSSVariableValues.cpp',
90 'Declaration.cpp',
91 'ErrorReporter.cpp',
92 'ImageLoader.cpp',
93 'Loader.cpp',
94 'MediaQueryList.cpp',
95 'nsAnimationManager.cpp',
96 'nsComputedDOMStyle.cpp',
97 'nsCSSAnonBoxes.cpp',
98 'nsCSSDataBlock.cpp',
99 'nsCSSKeywords.cpp',
100 'nsCSSParser.cpp',
101 'nsCSSProps.cpp',
102 'nsCSSPseudoClasses.cpp',
103 'nsCSSPseudoElements.cpp',
104 'nsCSSRules.cpp',
105 'nsCSSScanner.cpp',
106 'nsCSSStyleSheet.cpp',
107 'nsCSSValue.cpp',
108 'nsDOMCSSAttrDeclaration.cpp',
109 'nsDOMCSSDeclaration.cpp',
110 'nsDOMCSSRect.cpp',
111 'nsDOMCSSRGBColor.cpp',
112 'nsDOMCSSValueList.cpp',
113 'nsHTMLCSSStyleSheet.cpp',
114 'nsHTMLStyleSheet.cpp',
115 'nsLayoutStylesheetCache.cpp',
116 'nsMediaFeatures.cpp',
117 'nsNthIndexCache.cpp',
118 'nsROCSSPrimitiveValue.cpp',
119 'nsRuleData.cpp',
120 'nsRuleNode.cpp',
121 'nsStyleAnimation.cpp',
122 'nsStyleContext.cpp',
123 'nsStyleCoord.cpp',
124 'nsStyleSet.cpp',
125 'nsStyleStruct.cpp',
126 'nsStyleTransformMatrix.cpp',
127 'nsStyleUtil.cpp',
128 'nsTransitionManager.cpp',
129 'StyleRule.cpp',
130 ]
131
132 # nsCSSRuleProcessor.cpp needs to be built separately because it uses plarena.h.
133 # nsFontFaceLoader.cpp needs to be built separately because it forces NSPR logging.
134 SOURCES += [
135 'nsCSSRuleProcessor.cpp',
136 'nsFontFaceLoader.cpp',
137 ]
138
139 FAIL_ON_WARNINGS = True
140
141 MSVC_ENABLE_PGO = True
142
143 include('/ipc/chromium/chromium-config.mozbuild')
144
145 FINAL_LIBRARY = 'gklayout'
146
147 LOCAL_INCLUDES += [
148 '../../content/base/src',
149 '../../content/html/content/src',
150 '../../content/xul/document/src',
151 '../base',
152 '../generic',
153 '../xul',
154 '/dom/base',
155 '/dom/xbl',
156 ]
157
158 JAR_MANIFESTS += ['jar.mn']
159
160 RESOURCE_FILES += [
161 'contenteditable.css',
162 'designmode.css',
163 'ImageDocument.css',
164 'TopLevelImageDocument.css',
165 'TopLevelVideoDocument.css',
166 ]

mercurial