moz.build (7672B)
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/. 6 7 with Files("**"): 8 BUG_COMPONENT = ("Core", "SVG") 9 10 MOCHITEST_MANIFESTS += ["test/mochitest.toml"] 11 12 EXPORTS.mozilla += [ 13 "SVGAnimatedClass.h", 14 "SVGAnimatedClassOrString.h", 15 "SVGAttrValueWrapper.h", 16 "SVGContentUtils.h", 17 "SVGFragmentIdentifier.h", 18 "SVGPreserveAspectRatio.h", 19 "SVGStringList.h", 20 "SVGTagList.h", 21 ] 22 23 EXPORTS.mozilla.dom += [ 24 "DOMSVGAnimatedNumber.h", 25 "SVGAElement.h", 26 "SVGAnimatedLength.h", 27 "SVGAnimatedNumber.h", 28 "SVGAnimatedPreserveAspectRatio.h", 29 "SVGAnimatedRect.h", 30 "SVGAnimatedString.h", 31 "SVGAnimatedTransformList.h", 32 "SVGAnimateElement.h", 33 "SVGAnimateMotionElement.h", 34 "SVGAnimateTransformElement.h", 35 "SVGAnimationElement.h", 36 "SVGCircleElement.h", 37 "SVGClipPathElement.h", 38 "SVGComponentTransferFunctionElement.h", 39 "SVGDefsElement.h", 40 "SVGDescElement.h", 41 "SVGDocument.h", 42 "SVGElement.h", 43 "SVGElementFactory.h", 44 "SVGEllipseElement.h", 45 "SVGFEBlendElement.h", 46 "SVGFEColorMatrixElement.h", 47 "SVGFEComponentTransferElement.h", 48 "SVGFECompositeElement.h", 49 "SVGFEConvolveMatrixElement.h", 50 "SVGFEDiffuseLightingElement.h", 51 "SVGFEDisplacementMapElement.h", 52 "SVGFEDistantLightElement.h", 53 "SVGFEDropShadowElement.h", 54 "SVGFEFloodElement.h", 55 "SVGFEGaussianBlurElement.h", 56 "SVGFEImageElement.h", 57 "SVGFEMergeElement.h", 58 "SVGFEMergeNodeElement.h", 59 "SVGFEMorphologyElement.h", 60 "SVGFEOffsetElement.h", 61 "SVGFEPointLightElement.h", 62 "SVGFESpecularLightingElement.h", 63 "SVGFESpotLightElement.h", 64 "SVGFETileElement.h", 65 "SVGFETurbulenceElement.h", 66 "SVGFilterElement.h", 67 "SVGFilters.h", 68 "SVGForeignObjectElement.h", 69 "SVGGElement.h", 70 "SVGGeometryElement.h", 71 "SVGGradientElement.h", 72 "SVGGraphicsElement.h", 73 "SVGImageElement.h", 74 "SVGLength.h", 75 "SVGLengthUnits.h", 76 "SVGLineElement.h", 77 "SVGMarkerElement.h", 78 "SVGMaskElement.h", 79 "SVGMatrix.h", 80 "SVGMetadataElement.h", 81 "SVGMPathElement.h", 82 "SVGPathData.h", 83 "SVGPathElement.h", 84 "SVGPathSegment.h", 85 "SVGPathSegUtils.h", 86 "SVGPatternElement.h", 87 "SVGPolygonElement.h", 88 "SVGPolylineElement.h", 89 "SVGRect.h", 90 "SVGRectElement.h", 91 "SVGScriptElement.h", 92 "SVGSetElement.h", 93 "SVGStopElement.h", 94 "SVGStyleElement.h", 95 "SVGSVGElement.h", 96 "SVGSwitchElement.h", 97 "SVGSymbolElement.h", 98 "SVGTests.h", 99 "SVGTextContentElement.h", 100 "SVGTextElement.h", 101 "SVGTextPathElement.h", 102 "SVGTextPositioningElement.h", 103 "SVGTitleElement.h", 104 "SVGTransform.h", 105 "SVGTransformableElement.h", 106 "SVGTransformList.h", 107 "SVGTSpanElement.h", 108 "SVGUseElement.h", 109 "SVGViewElement.h", 110 "SVGViewportElement.h", 111 ] 112 113 UNIFIED_SOURCES += [ 114 "DOMSVGAngle.cpp", 115 "DOMSVGAnimatedAngle.cpp", 116 "DOMSVGAnimatedBoolean.cpp", 117 "DOMSVGAnimatedEnumeration.cpp", 118 "DOMSVGAnimatedInteger.cpp", 119 "DOMSVGAnimatedLength.cpp", 120 "DOMSVGAnimatedLengthList.cpp", 121 "DOMSVGAnimatedNumber.cpp", 122 "DOMSVGAnimatedNumberList.cpp", 123 "DOMSVGAnimatedString.cpp", 124 "DOMSVGAnimatedTransformList.cpp", 125 "DOMSVGLength.cpp", 126 "DOMSVGLengthList.cpp", 127 "DOMSVGNumber.cpp", 128 "DOMSVGNumberList.cpp", 129 "DOMSVGPoint.cpp", 130 "DOMSVGPointList.cpp", 131 "DOMSVGStringList.cpp", 132 "DOMSVGTransform.cpp", 133 "DOMSVGTransformList.cpp", 134 "SVGAElement.cpp", 135 "SVGAnimatedBoolean.cpp", 136 "SVGAnimatedClass.cpp", 137 "SVGAnimatedClassOrString.cpp", 138 "SVGAnimatedEnumeration.cpp", 139 "SVGAnimatedInteger.cpp", 140 "SVGAnimatedIntegerPair.cpp", 141 "SVGAnimatedLength.cpp", 142 "SVGAnimatedLengthList.cpp", 143 "SVGAnimatedNumber.cpp", 144 "SVGAnimatedNumberList.cpp", 145 "SVGAnimatedNumberPair.cpp", 146 "SVGAnimatedOrient.cpp", 147 "SVGAnimatedPathSegList.cpp", 148 "SVGAnimatedPointList.cpp", 149 "SVGAnimatedPreserveAspectRatio.cpp", 150 "SVGAnimatedRect.cpp", 151 "SVGAnimatedString.cpp", 152 "SVGAnimatedTransformList.cpp", 153 "SVGAnimatedViewBox.cpp", 154 "SVGAnimateElement.cpp", 155 "SVGAnimateMotionElement.cpp", 156 "SVGAnimateTransformElement.cpp", 157 "SVGAnimationElement.cpp", 158 "SVGArcConverter.cpp", 159 "SVGAttrValueWrapper.cpp", 160 "SVGCircleElement.cpp", 161 "SVGClipPathElement.cpp", 162 "SVGContentUtils.cpp", 163 "SVGDataParser.cpp", 164 "SVGDefsElement.cpp", 165 "SVGDescElement.cpp", 166 "SVGDocument.cpp", 167 "SVGElement.cpp", 168 "SVGElementFactory.cpp", 169 "SVGEllipseElement.cpp", 170 "SVGFEBlendElement.cpp", 171 "SVGFEColorMatrixElement.cpp", 172 "SVGFEComponentTransferElement.cpp", 173 "SVGFECompositeElement.cpp", 174 "SVGFEConvolveMatrixElement.cpp", 175 "SVGFEDiffuseLightingElement.cpp", 176 "SVGFEDisplacementMapElement.cpp", 177 "SVGFEDistantLightElement.cpp", 178 "SVGFEDropShadowElement.cpp", 179 "SVGFEFloodElement.cpp", 180 "SVGFEGaussianBlurElement.cpp", 181 "SVGFEImageElement.cpp", 182 "SVGFEMergeElement.cpp", 183 "SVGFEMergeNodeElement.cpp", 184 "SVGFEMorphologyElement.cpp", 185 "SVGFEOffsetElement.cpp", 186 "SVGFEPointLightElement.cpp", 187 "SVGFESpecularLightingElement.cpp", 188 "SVGFESpotLightElement.cpp", 189 "SVGFETileElement.cpp", 190 "SVGFETurbulenceElement.cpp", 191 "SVGFilterElement.cpp", 192 "SVGFilters.cpp", 193 "SVGForeignObjectElement.cpp", 194 "SVGFragmentIdentifier.cpp", 195 "SVGGElement.cpp", 196 "SVGGeometryElement.cpp", 197 "SVGGeometryProperty.cpp", 198 "SVGGradientElement.cpp", 199 "SVGGraphicsElement.cpp", 200 "SVGImageElement.cpp", 201 "SVGIntegerPairSMILType.cpp", 202 "SVGLength.cpp", 203 "SVGLengthList.cpp", 204 "SVGLengthListSMILType.cpp", 205 "SVGLengthSMILType.cpp", 206 "SVGLineElement.cpp", 207 "SVGMarkerElement.cpp", 208 "SVGMaskElement.cpp", 209 "SVGMatrix.cpp", 210 "SVGMetadataElement.cpp", 211 "SVGMotionSMILAnimationFunction.cpp", 212 "SVGMotionSMILAttr.cpp", 213 "SVGMotionSMILPathUtils.cpp", 214 "SVGMotionSMILType.cpp", 215 "SVGMPathElement.cpp", 216 "SVGNumberList.cpp", 217 "SVGNumberListSMILType.cpp", 218 "SVGNumberPairSMILType.cpp", 219 "SVGOrientSMILType.cpp", 220 "SVGPathData.cpp", 221 "SVGPathElement.cpp", 222 "SVGPathSegListSMILType.cpp", 223 "SVGPathSegment.cpp", 224 "SVGPathSegUtils.cpp", 225 "SVGPatternElement.cpp", 226 "SVGPointList.cpp", 227 "SVGPointListSMILType.cpp", 228 "SVGPolyElement.cpp", 229 "SVGPolygonElement.cpp", 230 "SVGPolylineElement.cpp", 231 "SVGPreserveAspectRatio.cpp", 232 "SVGRect.cpp", 233 "SVGRectElement.cpp", 234 "SVGScriptElement.cpp", 235 "SVGSetElement.cpp", 236 "SVGStopElement.cpp", 237 "SVGStringList.cpp", 238 "SVGStyleElement.cpp", 239 "SVGSVGElement.cpp", 240 "SVGSwitchElement.cpp", 241 "SVGSymbolElement.cpp", 242 "SVGTests.cpp", 243 "SVGTextContentElement.cpp", 244 "SVGTextElement.cpp", 245 "SVGTextPathElement.cpp", 246 "SVGTextPositioningElement.cpp", 247 "SVGTitleElement.cpp", 248 "SVGTransform.cpp", 249 "SVGTransformableElement.cpp", 250 "SVGTransformList.cpp", 251 "SVGTransformListParser.cpp", 252 "SVGTransformListSMILType.cpp", 253 "SVGTSpanElement.cpp", 254 "SVGUseElement.cpp", 255 "SVGViewBoxSMILType.cpp", 256 "SVGViewElement.cpp", 257 "SVGViewportElement.cpp", 258 ] 259 260 include("/ipc/chromium/chromium-config.mozbuild") 261 262 FINAL_LIBRARY = "xul" 263 LOCAL_INCLUDES += [ 264 "/dom", 265 "/dom/base", 266 "/dom/html", 267 "/dom/smil", 268 "/dom/svg", 269 "/dom/xml", 270 "/layout/base", 271 "/layout/generic", 272 "/layout/style", 273 "/layout/svg", 274 ]