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
7with Files("**"):
8    BUG_COMPONENT = ("Core", "Graphics")
9    SCHEDULES.inclusive += ["android-hw-gfx"]
10with Files("wr/**"):
11    BUG_COMPONENT = ("Core", "Graphics: WebRender")
12
13if CONFIG["MOZ_SYSTEM_GRAPHITE2"]:
14    DIRS += ["graphite2/geckoextra"]
15else:
16    DIRS += ["graphite2/src" ]
17
18if not CONFIG["MOZ_SYSTEM_HARFBUZZ"]:
19    DIRS += ["harfbuzz/src"]
20
21DIRS += [
22    "cairo",
23    "2d",
24    "ycbcr",
25    "angle",
26    "src",
27    "qcms",
28    "gl",
29    "layers",
30    "ots/src",
31    "thebes",
32    "ipc",
33    "vr",
34    "config",
35    "webrender_bindings",
36    "wgpu_bindings",
37    "skia",
38]
39
40if CONFIG["ENABLE_TESTS"]:
41    DIRS += ["tests/gtest"]
42
43TEST_DIRS += ["tests"]
44
45SPHINX_TREES["/gfx"] = "docs"
46
47with Files("docs/**"):
48    SCHEDULES.exclusive = ["docs"]
49
50with Files("wr/**"):
51    SCHEDULES.exclusive = ["webrender"]
52
53with Files("webrender_bindings/**"):
54    SCHEDULES.exclusive = ["webrender"]
55