summaryrefslogtreecommitdiffstats
path: root/layout/svg/moz.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/svg/moz.build98
1 files changed, 98 insertions, 0 deletions
diff --git a/layout/svg/moz.build b/layout/svg/moz.build
new file mode 100644
index 0000000000..d32dcc6363
--- /dev/null
+++ b/layout/svg/moz.build
@@ -0,0 +1,98 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# 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/.
+
+with Files("**"):
+ BUG_COMPONENT = ("Core", "SVG")
+
+if CONFIG["ENABLE_TESTS"]:
+ MOCHITEST_MANIFESTS += [
+ "tests/mochitest.ini",
+ ]
+ MOCHITEST_CHROME_MANIFESTS += [
+ "tests/chrome.ini",
+ ]
+
+EXPORTS.mozilla += [
+ "CSSClipPathInstance.h",
+ "DisplaySVGItem.h",
+ "FilterInstance.h",
+ "ISVGDisplayableFrame.h",
+ "ISVGSVGFrame.h",
+ "SVGClipPathFrame.h",
+ "SVGContainerFrame.h",
+ "SVGContextPaint.h",
+ "SVGFilterInstance.h",
+ "SVGForeignObjectFrame.h",
+ "SVGGeometryFrame.h",
+ "SVGGradientFrame.h",
+ "SVGImageContext.h",
+ "SVGImageFrame.h",
+ "SVGIntegrationUtils.h",
+ "SVGMaskFrame.h",
+ "SVGObserverUtils.h",
+ "SVGOuterSVGFrame.h",
+ "SVGPaintServerFrame.h",
+ "SVGTextFrame.h",
+ "SVGUseFrame.h",
+ "SVGUtils.h",
+]
+
+UNIFIED_SOURCES += [
+ "CSSClipPathInstance.cpp",
+ "CSSFilterInstance.cpp",
+ "DisplaySVGItem.cpp",
+ "FilterInstance.cpp",
+ "SVGAFrame.cpp",
+ "SVGClipPathFrame.cpp",
+ "SVGContainerFrame.cpp",
+ "SVGContextPaint.cpp",
+ "SVGFEContainerFrame.cpp",
+ "SVGFEImageFrame.cpp",
+ "SVGFELeafFrame.cpp",
+ "SVGFEUnstyledLeafFrame.cpp",
+ "SVGFilterFrame.cpp",
+ "SVGFilterInstance.cpp",
+ "SVGForeignObjectFrame.cpp",
+ "SVGGeometryFrame.cpp",
+ "SVGGFrame.cpp",
+ "SVGGradientFrame.cpp",
+ "SVGImageContext.cpp",
+ "SVGImageFrame.cpp",
+ "SVGInnerSVGFrame.cpp",
+ "SVGIntegrationUtils.cpp",
+ "SVGMarkerFrame.cpp",
+ "SVGMaskFrame.cpp",
+ "SVGObserverUtils.cpp",
+ "SVGOuterSVGFrame.cpp",
+ "SVGPaintServerFrame.cpp",
+ "SVGPatternFrame.cpp",
+ "SVGStopFrame.cpp",
+ "SVGSwitchFrame.cpp",
+ "SVGSymbolFrame.cpp",
+ "SVGTextFrame.cpp",
+ "SVGUseFrame.cpp",
+ "SVGUtils.cpp",
+ "SVGViewFrame.cpp",
+ "SVGViewportFrame.cpp",
+]
+
+include("/ipc/chromium/chromium-config.mozbuild")
+
+FINAL_LIBRARY = "xul"
+LOCAL_INCLUDES += [
+ "../../widget",
+ "../base",
+ "../generic",
+ "../painting",
+ "../style",
+ "../xul",
+ "/dom/base",
+ "/dom/svg",
+]
+
+RESOURCE_FILES += [
+ "svg.css",
+]