2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:19 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2017-03-01 16:20:25 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "SVG")
|
|
|
|
|
2014-10-25 21:21:12 +04:00
|
|
|
MOCHITEST_MANIFESTS += ["test/mochitest.ini"]
|
|
|
|
|
2018-12-31 14:56:52 +03:00
|
|
|
EXPORTS.mozilla += [
|
2020-08-10 10:55:15 +03:00
|
|
|
"SVGAnimatedClass.h",
|
|
|
|
"SVGAnimatedClassOrString.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGAttrValueWrapper.h",
|
2015-12-03 01:36:23 +03:00
|
|
|
"SVGContentUtils.h",
|
2020-07-12 19:38:26 +03:00
|
|
|
"SVGFragmentIdentifier.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGPreserveAspectRatio.h",
|
|
|
|
"SVGStringList.h",
|
2017-07-04 11:00:03 +03:00
|
|
|
"SVGTagList.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
"SVGAElement.h",
|
2013-05-09 21:42:12 +04:00
|
|
|
"SVGAnimatedRect.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGAnimateElement.h",
|
|
|
|
"SVGAnimateMotionElement.h",
|
|
|
|
"SVGAnimateTransformElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGAnimationElement.h",
|
|
|
|
"SVGCircleElement.h",
|
|
|
|
"SVGClipPathElement.h",
|
|
|
|
"SVGComponentTransferFunctionElement.h",
|
|
|
|
"SVGDefsElement.h",
|
|
|
|
"SVGDescElement.h",
|
2014-10-25 21:21:12 +04:00
|
|
|
"SVGDocument.h",
|
2018-12-21 11:58:14 +03:00
|
|
|
"SVGElement.h",
|
2017-07-04 11:00:03 +03:00
|
|
|
"SVGElementFactory.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGEllipseElement.h",
|
|
|
|
"SVGFEBlendElement.h",
|
|
|
|
"SVGFEColorMatrixElement.h",
|
|
|
|
"SVGFEComponentTransferElement.h",
|
|
|
|
"SVGFECompositeElement.h",
|
|
|
|
"SVGFEConvolveMatrixElement.h",
|
|
|
|
"SVGFEDiffuseLightingElement.h",
|
|
|
|
"SVGFEDisplacementMapElement.h",
|
|
|
|
"SVGFEDistantLightElement.h",
|
2014-02-08 20:49:46 +04:00
|
|
|
"SVGFEDropShadowElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGFEFloodElement.h",
|
|
|
|
"SVGFEGaussianBlurElement.h",
|
|
|
|
"SVGFEImageElement.h",
|
|
|
|
"SVGFEMergeElement.h",
|
|
|
|
"SVGFEMergeNodeElement.h",
|
|
|
|
"SVGFEMorphologyElement.h",
|
|
|
|
"SVGFEOffsetElement.h",
|
|
|
|
"SVGFEPointLightElement.h",
|
|
|
|
"SVGFESpecularLightingElement.h",
|
|
|
|
"SVGFESpotLightElement.h",
|
|
|
|
"SVGFETileElement.h",
|
|
|
|
"SVGFETurbulenceElement.h",
|
|
|
|
"SVGFilterElement.h",
|
2020-08-15 13:38:17 +03:00
|
|
|
"SVGFilters.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGForeignObjectElement.h",
|
|
|
|
"SVGGElement.h",
|
2016-12-18 14:11:47 +03:00
|
|
|
"SVGGeometryElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGGradientElement.h",
|
|
|
|
"SVGGraphicsElement.h",
|
2013-05-03 20:54:45 +04:00
|
|
|
"SVGImageElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGLineElement.h",
|
|
|
|
"SVGMarkerElement.h",
|
|
|
|
"SVGMaskElement.h",
|
|
|
|
"SVGMatrix.h",
|
|
|
|
"SVGMetadataElement.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGMPathElement.h",
|
2018-08-08 04:07:01 +03:00
|
|
|
"SVGPathData.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGPathElement.h",
|
|
|
|
"SVGPatternElement.h",
|
|
|
|
"SVGPolygonElement.h",
|
|
|
|
"SVGPolylineElement.h",
|
|
|
|
"SVGRect.h",
|
2013-05-03 20:54:45 +04:00
|
|
|
"SVGRectElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGScriptElement.h",
|
|
|
|
"SVGSetElement.h",
|
|
|
|
"SVGStopElement.h",
|
|
|
|
"SVGStyleElement.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGSVGElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGSwitchElement.h",
|
|
|
|
"SVGSymbolElement.h",
|
|
|
|
"SVGTests.h",
|
|
|
|
"SVGTextContentElement.h",
|
|
|
|
"SVGTextElement.h",
|
|
|
|
"SVGTextPathElement.h",
|
|
|
|
"SVGTextPositioningElement.h",
|
|
|
|
"SVGTitleElement.h",
|
2013-05-03 20:54:45 +04:00
|
|
|
"SVGTransformableElement.h",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGTSpanElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
"SVGUseElement.h",
|
|
|
|
"SVGViewElement.h",
|
2017-06-14 15:38:10 +03:00
|
|
|
"SVGViewportElement.h",
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-11-17 19:59:45 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2018-12-30 21:18:30 +03:00
|
|
|
"DOMSVGAngle.cpp",
|
2019-03-19 03:01:03 +03:00
|
|
|
"DOMSVGAnimatedAngle.cpp",
|
|
|
|
"DOMSVGAnimatedBoolean.cpp",
|
|
|
|
"DOMSVGAnimatedEnumeration.cpp",
|
|
|
|
"DOMSVGAnimatedInteger.cpp",
|
|
|
|
"DOMSVGAnimatedLength.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"DOMSVGAnimatedLengthList.cpp",
|
2019-03-19 03:01:03 +03:00
|
|
|
"DOMSVGAnimatedNumber.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"DOMSVGAnimatedNumberList.cpp",
|
2019-03-19 03:01:03 +03:00
|
|
|
"DOMSVGAnimatedString.cpp",
|
2018-12-23 14:08:14 +03:00
|
|
|
"DOMSVGAnimatedTransformList.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"DOMSVGLength.cpp",
|
|
|
|
"DOMSVGLengthList.cpp",
|
|
|
|
"DOMSVGNumber.cpp",
|
|
|
|
"DOMSVGNumberList.cpp",
|
|
|
|
"DOMSVGPathSeg.cpp",
|
|
|
|
"DOMSVGPathSegList.cpp",
|
|
|
|
"DOMSVGPoint.cpp",
|
|
|
|
"DOMSVGPointList.cpp",
|
|
|
|
"DOMSVGStringList.cpp",
|
2018-12-28 20:20:15 +03:00
|
|
|
"DOMSVGTransform.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"DOMSVGTransformList.cpp",
|
|
|
|
"SVGAElement.cpp",
|
2019-04-04 20:40:56 +03:00
|
|
|
"SVGAnimatedBoolean.cpp",
|
|
|
|
"SVGAnimatedClass.cpp",
|
2020-08-10 10:55:15 +03:00
|
|
|
"SVGAnimatedClassOrString.cpp",
|
2019-04-04 20:40:56 +03:00
|
|
|
"SVGAnimatedEnumeration.cpp",
|
|
|
|
"SVGAnimatedInteger.cpp",
|
|
|
|
"SVGAnimatedIntegerPair.cpp",
|
2019-04-09 23:04:33 +03:00
|
|
|
"SVGAnimatedLength.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGAnimatedLengthList.cpp",
|
2019-04-09 23:04:33 +03:00
|
|
|
"SVGAnimatedNumber.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGAnimatedNumberList.cpp",
|
2019-04-04 20:40:56 +03:00
|
|
|
"SVGAnimatedNumberPair.cpp",
|
|
|
|
"SVGAnimatedOrient.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGAnimatedPathSegList.cpp",
|
|
|
|
"SVGAnimatedPointList.cpp",
|
|
|
|
"SVGAnimatedPreserveAspectRatio.cpp",
|
|
|
|
"SVGAnimatedRect.cpp",
|
2019-04-04 20:40:56 +03:00
|
|
|
"SVGAnimatedString.cpp",
|
2018-12-27 02:46:38 +03:00
|
|
|
"SVGAnimatedTransformList.cpp",
|
2019-04-04 20:40:56 +03:00
|
|
|
"SVGAnimatedViewBox.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGAnimateElement.cpp",
|
|
|
|
"SVGAnimateMotionElement.cpp",
|
|
|
|
"SVGAnimateTransformElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGAnimationElement.cpp",
|
|
|
|
"SVGAttrValueWrapper.cpp",
|
|
|
|
"SVGCircleElement.cpp",
|
|
|
|
"SVGClipPathElement.cpp",
|
|
|
|
"SVGContentUtils.cpp",
|
2018-12-21 23:19:15 +03:00
|
|
|
"SVGDataParser.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGDefsElement.cpp",
|
|
|
|
"SVGDescElement.cpp",
|
2014-10-25 21:21:12 +04:00
|
|
|
"SVGDocument.cpp",
|
2018-12-21 11:58:14 +03:00
|
|
|
"SVGElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGElementFactory.cpp",
|
|
|
|
"SVGEllipseElement.cpp",
|
|
|
|
"SVGFEBlendElement.cpp",
|
|
|
|
"SVGFEColorMatrixElement.cpp",
|
|
|
|
"SVGFEComponentTransferElement.cpp",
|
|
|
|
"SVGFECompositeElement.cpp",
|
|
|
|
"SVGFEConvolveMatrixElement.cpp",
|
|
|
|
"SVGFEDiffuseLightingElement.cpp",
|
|
|
|
"SVGFEDisplacementMapElement.cpp",
|
|
|
|
"SVGFEDistantLightElement.cpp",
|
2014-02-09 13:46:16 +04:00
|
|
|
"SVGFEDropShadowElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGFEFloodElement.cpp",
|
|
|
|
"SVGFEGaussianBlurElement.cpp",
|
|
|
|
"SVGFEImageElement.cpp",
|
|
|
|
"SVGFEMergeElement.cpp",
|
|
|
|
"SVGFEMergeNodeElement.cpp",
|
|
|
|
"SVGFEMorphologyElement.cpp",
|
|
|
|
"SVGFEOffsetElement.cpp",
|
|
|
|
"SVGFEPointLightElement.cpp",
|
|
|
|
"SVGFESpecularLightingElement.cpp",
|
|
|
|
"SVGFESpotLightElement.cpp",
|
|
|
|
"SVGFETileElement.cpp",
|
|
|
|
"SVGFETurbulenceElement.cpp",
|
|
|
|
"SVGFilterElement.cpp",
|
2018-12-21 19:24:17 +03:00
|
|
|
"SVGFilters.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGForeignObjectElement.cpp",
|
|
|
|
"SVGFragmentIdentifier.cpp",
|
|
|
|
"SVGGElement.cpp",
|
2016-12-18 14:11:47 +03:00
|
|
|
"SVGGeometryElement.cpp",
|
2019-05-16 16:21:21 +03:00
|
|
|
"SVGGeometryProperty.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGGradientElement.cpp",
|
|
|
|
"SVGGraphicsElement.cpp",
|
|
|
|
"SVGImageElement.cpp",
|
|
|
|
"SVGIntegerPairSMILType.cpp",
|
|
|
|
"SVGLength.cpp",
|
|
|
|
"SVGLengthList.cpp",
|
|
|
|
"SVGLengthListSMILType.cpp",
|
|
|
|
"SVGLineElement.cpp",
|
|
|
|
"SVGMarkerElement.cpp",
|
|
|
|
"SVGMaskElement.cpp",
|
|
|
|
"SVGMatrix.cpp",
|
|
|
|
"SVGMetadataElement.cpp",
|
|
|
|
"SVGMotionSMILAnimationFunction.cpp",
|
|
|
|
"SVGMotionSMILAttr.cpp",
|
|
|
|
"SVGMotionSMILPathUtils.cpp",
|
|
|
|
"SVGMotionSMILType.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGMPathElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGNumberList.cpp",
|
|
|
|
"SVGNumberListSMILType.cpp",
|
|
|
|
"SVGNumberPairSMILType.cpp",
|
|
|
|
"SVGOrientSMILType.cpp",
|
|
|
|
"SVGPathData.cpp",
|
2018-12-21 23:19:15 +03:00
|
|
|
"SVGPathDataParser.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGPathElement.cpp",
|
|
|
|
"SVGPathSegListSMILType.cpp",
|
|
|
|
"SVGPathSegUtils.cpp",
|
|
|
|
"SVGPatternElement.cpp",
|
|
|
|
"SVGPointList.cpp",
|
|
|
|
"SVGPointListSMILType.cpp",
|
2016-12-18 14:11:47 +03:00
|
|
|
"SVGPolyElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGPolygonElement.cpp",
|
|
|
|
"SVGPolylineElement.cpp",
|
|
|
|
"SVGPreserveAspectRatio.cpp",
|
|
|
|
"SVGRect.cpp",
|
|
|
|
"SVGRectElement.cpp",
|
|
|
|
"SVGScriptElement.cpp",
|
|
|
|
"SVGSetElement.cpp",
|
|
|
|
"SVGStopElement.cpp",
|
|
|
|
"SVGStringList.cpp",
|
|
|
|
"SVGStyleElement.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGSVGElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGSwitchElement.cpp",
|
|
|
|
"SVGSymbolElement.cpp",
|
|
|
|
"SVGTests.cpp",
|
|
|
|
"SVGTextContentElement.cpp",
|
|
|
|
"SVGTextElement.cpp",
|
|
|
|
"SVGTextPathElement.cpp",
|
|
|
|
"SVGTextPositioningElement.cpp",
|
|
|
|
"SVGTitleElement.cpp",
|
2018-12-29 12:15:40 +03:00
|
|
|
"SVGTransform.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGTransformableElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGTransformList.cpp",
|
|
|
|
"SVGTransformListParser.cpp",
|
|
|
|
"SVGTransformListSMILType.cpp",
|
2013-10-24 03:05:43 +04:00
|
|
|
"SVGTSpanElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
"SVGUseElement.cpp",
|
|
|
|
"SVGViewBoxSMILType.cpp",
|
|
|
|
"SVGViewElement.cpp",
|
2017-06-14 15:38:10 +03:00
|
|
|
"SVGViewportElement.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = "xul"
|
2013-11-11 12:04:06 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/dom",
|
2014-10-25 21:25:22 +04:00
|
|
|
"/dom/base",
|
2014-10-25 21:24:55 +04:00
|
|
|
"/dom/html",
|
2014-01-03 05:49:22 +04:00
|
|
|
"/dom/smil",
|
2014-10-25 21:21:12 +04:00
|
|
|
"/dom/svg",
|
2014-07-26 01:15:35 +04:00
|
|
|
"/dom/xml",
|
2014-10-03 08:53:24 +04:00
|
|
|
"/layout/base",
|
2013-11-11 12:04:06 +04:00
|
|
|
"/layout/generic",
|
|
|
|
"/layout/style",
|
|
|
|
"/layout/svg",
|
2013-12-04 05:06:16 +04:00
|
|
|
"/layout/xul",
|
2013-11-11 12:04:06 +04:00
|
|
|
]
|
2016-05-11 10:00:01 +03:00
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG["CC_TYPE"] in ("clang", "gcc"):
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ["-Wno-error=shadow"]
|