1 # -*- Mode: python; 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/.
8 BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
10 with Files("nsComputedDOMStyle.*"):
11 BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
13 with Files("nsROCSSPrimitiveValue.*"):
14 BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
16 with Files("CSSRuleList.*"):
17 BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
20 BUG_COMPONENT = ("Core", "DOM: CSS Object Model")
22 with Files("AnimationCollection.*"):
23 BUG_COMPONENT = ("Core", "CSS Transitions and Animations")
25 with Files("AnimatedPropertyID*"):
26 BUG_COMPONENT = ("Core", "CSS Transitions and Animations")
28 with Files("AnimationCommon.*"):
29 BUG_COMPONENT = ("Core", "CSS Transitions and Animations")
31 with Files("nsAnimationManager.*"):
32 BUG_COMPONENT = ("Core", "CSS Transitions and Animations")
34 with Files("nsTransitionManager.*"):
35 BUG_COMPONENT = ("Core", "CSS Transitions and Animations")
37 with Files("StyleAnimationValue.*"):
38 BUG_COMPONENT = ("Core", "CSS Transitions and Animations")
45 "CounterStyleManager.h",
46 "nsAnimationManager.h",
47 "nsComputedDOMStyle.h",
50 "nsCSSCounterDescList.h",
51 "nsCSSFontDescList.h",
52 "nsCSSPropertyIDSet.h",
54 "nsCSSPseudoElementList.h",
55 "nsCSSPseudoElements.h",
57 "nsDOMCSSAttrDeclaration.h",
58 "nsDOMCSSDeclaration.h",
59 "nsICSSDeclaration.h",
60 "nsICSSLoaderObserver.h",
65 "nsStyleStructInlines.h",
66 "nsStyleStructList.h",
67 "nsStyleTransformMatrix.h",
72 "!ServoCSSPropList.h",
73 "AnimatedPropertyID.h",
74 "AnimatedPropertyIDSet.h",
75 "AnimationCollection.h",
77 "CachedInheritingStyles.h",
79 "ComputedStyleInlines.h",
83 "DocumentStyleRootIterator.h",
87 "GlobalStyleSheetCache.h",
89 "LayerAnimationInfo.h",
90 "MappedDeclarationsBuilder.h",
91 "MediaFeatureChange.h",
92 "PostTraversalTask.h",
94 "PreloadedStyleSheet.h",
98 "ServoBindingTypes.h",
99 "ServoBoxedTypeList.h",
100 "ServoComputedData.h",
102 "ServoCSSRuleList.h",
103 "ServoElementSnapshot.h",
104 "ServoElementSnapshotTable.h",
105 "ServoLockedArcTypeList.h",
106 "ServoStyleConstsForwards.h",
107 "ServoStyleConstsInlines.h",
109 "ServoStyleSetInlines.h",
110 "ServoTraversalStatistics.h",
114 "SharedStyleSheetCache.h",
115 "SharedSubResourceCache.h",
116 "StyleAnimationValue.h",
117 "StyleColorInlines.h",
120 "StyleSheetInlines.h",
121 "TimelineCollection.h",
124 "UserAgentStyleSheetID.h",
125 "UserAgentStyleSheetList.h",
128 EXPORTS.mozilla.dom += [
130 "CSSContainerRule.h",
131 "CSSCounterStyleRule.h",
133 "CSSFontFeatureValuesRule.h",
134 "CSSFontPaletteValuesRule.h",
137 "CSSKeyframesRule.h",
138 "CSSLayerBlockRule.h",
139 "CSSLayerStatementRule.h",
141 "CSSMozDocumentRule.h",
142 "CSSNamespaceRule.h",
152 "FontFaceSetDocumentImpl.h",
154 "FontFaceSetIterator.h",
155 "FontFaceSetWorkerImpl.h",
158 "PaintWorkletGlobalScope.h",
161 EXPORTS.mozilla.css += [
162 "DocumentMatchingFunction.h",
169 "SheetParsingMode.h",
171 "StylePreloadKind.h",
175 "AnimationCollection.cpp",
176 "AttributeStyles.cpp",
177 "CachedInheritingStyles.cpp",
179 "CounterStyleManager.cpp",
181 "CSSContainerRule.cpp",
182 "CSSCounterStyleRule.cpp",
183 "CSSFontFaceRule.cpp",
184 "CSSFontFeatureValuesRule.cpp",
185 "CSSFontPaletteValuesRule.cpp",
187 "CSSKeyframeRule.cpp",
188 "CSSKeyframesRule.cpp",
189 "CSSLayerBlockRule.cpp",
190 "CSSLayerStatementRule.cpp",
192 "CSSMozDocumentRule.cpp",
193 "CSSNamespaceRule.cpp",
195 "CSSPropertyRule.cpp",
198 "CSSSupportsRule.cpp",
199 "DeclarationBlock.cpp",
200 "DocumentStyleRootIterator.cpp",
205 "FontFaceSetDocumentImpl.cpp",
206 "FontFaceSetImpl.cpp",
207 "FontFaceSetIterator.cpp",
208 "FontFaceSetWorkerImpl.cpp",
209 "FontLoaderUtils.cpp",
212 "GlobalStyleSheetCache.cpp",
216 "LayerAnimationInfo.cpp",
218 "MappedDeclarationsBuilder.cpp",
220 "MediaQueryList.cpp",
221 "nsAnimationManager.cpp",
222 "nsComputedDOMStyle.cpp",
223 "nsCSSAnonBoxes.cpp",
225 "nsCSSPseudoElements.cpp",
227 "nsDOMCSSAttrDeclaration.cpp",
228 "nsDOMCSSDeclaration.cpp",
229 "nsDOMCSSValueList.cpp",
230 "nsFontFaceLoader.cpp",
231 "nsFontFaceUtils.cpp",
232 "nsICSSDeclaration.cpp",
233 "nsMediaFeatures.cpp",
234 "nsROCSSPrimitiveValue.cpp",
236 "nsStyleTransformMatrix.cpp",
238 "nsTransitionManager.cpp",
239 "PaintWorkletGlobalScope.cpp",
240 "PaintWorkletImpl.cpp",
241 "PostTraversalTask.cpp",
242 "PreferenceSheet.cpp",
243 "PreloadedStyleSheet.cpp",
244 "PseudoStyleType.cpp",
246 "ServoCSSParser.cpp",
247 "ServoCSSRuleList.cpp",
248 "ServoElementSnapshot.cpp",
251 "SharedStyleSheetCache.cpp",
253 "StyleAnimationValue.cpp",
256 "TimelineCollection.cpp",
257 "TimelineManager.cpp",
261 include("/ipc/chromium/chromium-config.mozbuild")
263 FINAL_LIBRARY = "xul"
275 JAR_MANIFESTS += ["jar.mn"]
278 "contenteditable.css",
282 CONTENT_ACCESSIBLE_FILES += [
284 "res/accessiblecaret.css",
287 "res/searchfield-cancel.svg",
288 "res/viewsource.css",
289 "TopLevelImageDocument.css",
290 "TopLevelVideoDocument.css",
296 script="GenerateCSSPropertyID.py",
297 entry_point="generate",
298 inputs=["nsCSSPropertyID.h.in", "!ServoCSSPropList.py"],
301 "ServoCSSPropList.h",
302 script="GenerateServoCSSPropList.py",
303 entry_point="generate_header",
304 inputs=["!ServoCSSPropList.py"],
307 "ServoCSSPropList.py",
308 script="GenerateServoCSSPropList.py",
309 entry_point="generate_data",
310 inputs=["ServoCSSPropList.mako.py"],
313 if CONFIG["COMPILE_ENVIRONMENT"]:
315 "!CompositorAnimatableProperties.h",
316 "!CountedUnknownProperties.h",
317 "!ServoStyleConsts.h",
321 "CompositorAnimatableProperties.h",
322 script="GenerateCompositorAnimatableProperties.py",
323 entry_point="generate",
324 inputs=["!ServoCSSPropList.py"],
327 "CountedUnknownProperties.h",
328 script="GenerateCountedUnknownProperties.py",
329 entry_point="generate",
331 "/servo/components/style/properties/counted_unknown_properties.py",
335 "nsComputedDOMStyleGenerated.inc",
336 script="GenerateComputedDOMStyleGenerated.py",
337 entry_point="generate",
338 inputs=["!ServoCSSPropList.py"],
341 "nsCSSPropsGenerated.inc",
342 script="GenerateCSSPropsGenerated.py",
343 entry_point="generate",
344 inputs=["!ServoCSSPropList.py"],
347 "ServoStyleConsts.h",
348 inputs=["/servo/ports/geckolib", "/servo/components/style"],
351 CONFIGURE_SUBST_FILES += [
352 "extra-bindgen-flags",