summaryrefslogtreecommitdiffstats
path: root/layout/svg/moz.build
blob: 05efbafb41bd282a9ccbc2e51b0de0bd9721cf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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.toml",
    ]
    MOCHITEST_CHROME_MANIFESTS += [
        "tests/chrome.toml",
    ]

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",
]