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/.
7 # Default extra components to build config
9 BUG_COMPONENT = ("Firefox Build System", "General")
11 with Files("devtools/**"):
12 BUG_COMPONENT = ("DevTools", "General")
14 with Files("gdbpp/**"):
15 BUG_COMPONENT = ("Firefox Build System", "General")
17 with Files("lldbutils/**"):
18 BUG_COMPONENT = ("Core", "General")
20 with Files("mach/**"):
21 BUG_COMPONENT = ("Firefox Build System", "Mach Core")
23 with Files("mozboot/**"):
24 BUG_COMPONENT = ("Firefox Build System", "Bootstrap Configuration")
26 with Files("mozbuild/**"):
27 BUG_COMPONENT = ("Firefox Build System", "General")
29 with Files("mozlint/**"):
30 BUG_COMPONENT = ("Firefox Build System", "Linting and Formatting")
32 with Files("mozversioncontrol/**"):
33 BUG_COMPONENT = ("Firefox Build System", "General")
35 with Files("l10n/**"):
36 BUG_COMPONENT = ("Firefox Build System", "General")
38 with Files("mozrelease/**"):
39 BUG_COMPONENT = ("Release Engineering", "General")
41 with Files("mach_commands.py"):
42 BUG_COMPONENT = ("Testing", "Python Test")
44 with Files("mozperftest/**"):
45 BUG_COMPONENT = ("Testing", "mozperftest")
48 SPHINX_PYTHON_PACKAGE_DIRS += [
53 "mozversioncontrol/mozversioncontrol",
57 SCHEDULES.inclusive += ["docs"]
59 SPHINX_TREES["/mach"] = "mach/docs"
60 SPHINX_TREES["/python"] = "docs"
62 with Files("mach/docs/**"):
63 SCHEDULES.exclusive = ["docs"]
65 PYTHON_UNITTEST_MANIFESTS += [
66 "mach/mach/test/python.ini",
67 "mozboot/mozboot/test/python.ini",
68 "mozbuild/mozbuild/repackaging/test/python.ini",
69 "mozbuild/mozbuild/test/python.ini",
70 "mozbuild/mozpack/test/python.ini",
71 "mozlint/test/python.ini",
72 "mozrelease/test/python.ini",
73 "mozterm/test/python.ini",
74 "mozversioncontrol/test/python.ini",