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",
60 "nsICSSDeclaration.h",
61 "nsICSSLoaderObserver.h",
66 "nsStyleStructInlines.h",
67 "nsStyleStructList.h",
68 "nsStyleTransformMatrix.h",
73 "!ServoCSSPropList.h",
74 "AnimatedPropertyID.h",
75 "AnimatedPropertyIDSet.h",
76 "AnimationCollection.h",
78 "CachedInheritingStyles.h",
80 "ComputedStyleInlines.h",
84 "DocumentStyleRootIterator.h",
88 "GlobalStyleSheetCache.h",
90 "LayerAnimationInfo.h",
91 "MappedDeclarationsBuilder.h",
92 "MediaFeatureChange.h",
93 "PostTraversalTask.h",
95 "PreloadedStyleSheet.h",
99 "ServoBindingTypes.h",
100 "ServoBoxedTypeList.h",
101 "ServoComputedData.h",
103 "ServoCSSRuleList.h",
104 "ServoElementSnapshot.h",
105 "ServoElementSnapshotTable.h",
106 "ServoLockedArcTypeList.h",
107 "ServoStyleConstsForwards.h",
108 "ServoStyleConstsInlines.h",
110 "ServoStyleSetInlines.h",
111 "ServoTraversalStatistics.h",
115 "SharedStyleSheetCache.h",
116 "SharedSubResourceCache.h",
117 "StyleAnimationValue.h",
118 "StyleColorInlines.h",
121 "StyleSheetInlines.h",
122 "TimelineCollection.h",
125 "UserAgentStyleSheetID.h",
126 "UserAgentStyleSheetList.h",
129 EXPORTS.mozilla.dom += [
131 "CSSContainerRule.h",
132 "CSSCounterStyleRule.h",
134 "CSSFontFeatureValuesRule.h",
135 "CSSFontPaletteValuesRule.h",
138 "CSSKeyframesRule.h",
139 "CSSLayerBlockRule.h",
140 "CSSLayerStatementRule.h",
143 "CSSMozDocumentRule.h",
144 "CSSNamespaceRule.h",
149 "CSSStartingStyleRule.h",
156 "FontFaceSetDocumentImpl.h",
158 "FontFaceSetIterator.h",
159 "FontFaceSetWorkerImpl.h",
162 "PaintWorkletGlobalScope.h",
165 EXPORTS.mozilla.css += [
166 "DocumentMatchingFunction.h",
173 "SheetParsingMode.h",
175 "StylePreloadKind.h",
179 "AnimationCollection.cpp",
180 "AttributeStyles.cpp",
181 "CachedInheritingStyles.cpp",
183 "CounterStyleManager.cpp",
185 "CSSContainerRule.cpp",
186 "CSSCounterStyleRule.cpp",
187 "CSSFontFaceRule.cpp",
188 "CSSFontFeatureValuesRule.cpp",
189 "CSSFontPaletteValuesRule.cpp",
191 "CSSKeyframeRule.cpp",
192 "CSSKeyframesRule.cpp",
193 "CSSLayerBlockRule.cpp",
194 "CSSLayerStatementRule.cpp",
197 "CSSMozDocumentRule.cpp",
198 "CSSNamespaceRule.cpp",
200 "CSSPropertyRule.cpp",
203 "CSSStartingStyleRule.cpp",
205 "CSSSupportsRule.cpp",
206 "DeclarationBlock.cpp",
207 "DocumentStyleRootIterator.cpp",
212 "FontFaceSetDocumentImpl.cpp",
213 "FontFaceSetImpl.cpp",
214 "FontFaceSetIterator.cpp",
215 "FontFaceSetWorkerImpl.cpp",
216 "FontLoaderUtils.cpp",
219 "GlobalStyleSheetCache.cpp",
223 "LayerAnimationInfo.cpp",
225 "MappedDeclarationsBuilder.cpp",
227 "MediaQueryList.cpp",
228 "nsAnimationManager.cpp",
229 "nsComputedDOMStyle.cpp",
230 "nsCSSAnonBoxes.cpp",
232 "nsCSSPseudoElements.cpp",
234 "nsDOMCSSAttrDeclaration.cpp",
235 "nsDOMCSSDeclaration.cpp",
236 "nsDOMCSSValueList.cpp",
237 "nsFontFaceLoader.cpp",
238 "nsFontFaceUtils.cpp",
239 "nsICSSDeclaration.cpp",
240 "nsMediaFeatures.cpp",
241 "nsROCSSPrimitiveValue.cpp",
243 "nsStyleTransformMatrix.cpp",
245 "nsTransitionManager.cpp",
246 "PaintWorkletGlobalScope.cpp",
247 "PaintWorkletImpl.cpp",
248 "PostTraversalTask.cpp",
249 "PreferenceSheet.cpp",
250 "PreloadedStyleSheet.cpp",
251 "PseudoStyleType.cpp",
253 "ServoCSSParser.cpp",
254 "ServoCSSRuleList.cpp",
255 "ServoElementSnapshot.cpp",
258 "SharedStyleSheetCache.cpp",
260 "StyleAnimationValue.cpp",
263 "TimelineCollection.cpp",
264 "TimelineManager.cpp",
268 include("/ipc/chromium/chromium-config.mozbuild")
270 FINAL_LIBRARY = "xul"
282 JAR_MANIFESTS += ["jar.mn"]
285 "contenteditable.css",
289 CONTENT_ACCESSIBLE_FILES += [
291 "res/accessiblecaret.css",
294 "res/searchfield-cancel.svg",
295 "res/viewsource.css",
296 "TopLevelImageDocument.css",
297 "TopLevelVideoDocument.css",
303 script="GenerateCSSPropertyID.py",
304 entry_point="generate",
305 inputs=["nsCSSPropertyID.h.in", "!ServoCSSPropList.py"],
308 "ServoCSSPropList.h",
309 script="GenerateServoCSSPropList.py",
310 entry_point="generate_header",
311 inputs=["!ServoCSSPropList.py"],
314 "ServoCSSPropList.py",
315 script="GenerateServoCSSPropList.py",
316 entry_point="generate_data",
317 inputs=["ServoCSSPropList.mako.py"],
320 if CONFIG["COMPILE_ENVIRONMENT"]:
322 "!CompositorAnimatableProperties.h",
323 "!CountedUnknownProperties.h",
324 "!ServoStyleConsts.h",
328 "CompositorAnimatableProperties.h",
329 script="GenerateCompositorAnimatableProperties.py",
330 entry_point="generate",
331 inputs=["!ServoCSSPropList.py"],
334 "CountedUnknownProperties.h",
335 script="GenerateCountedUnknownProperties.py",
336 entry_point="generate",
338 "/servo/components/style/properties/counted_unknown_properties.py",
342 "nsComputedDOMStyleGenerated.inc",
343 script="GenerateComputedDOMStyleGenerated.py",
344 entry_point="generate",
345 inputs=["!ServoCSSPropList.py"],
348 "nsCSSPropsGenerated.inc",
349 script="GenerateCSSPropsGenerated.py",
350 entry_point="generate",
351 inputs=["!ServoCSSPropList.py"],
354 "ServoStyleConsts.h",
355 inputs=["/servo/ports/geckolib", "/servo/components/style"],
358 CONFIGURE_SUBST_FILES += [
359 "extra-bindgen-flags",