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")
47 with Files("sites/**"):
48 BUG_COMPONENT = ("Firefox Build System", "Mach Core")
51 SPHINX_PYTHON_PACKAGE_DIRS += [
56 "mozversioncontrol/mozversioncontrol",
60 SCHEDULES.inclusive += ["docs"]
62 SPHINX_TREES["/mach"] = "mach/docs"
63 SPHINX_TREES["/python"] = "docs"
65 with Files("mach/docs/**"):
66 SCHEDULES.exclusive = ["docs"]
68 PYTHON_UNITTEST_MANIFESTS += [
69 "mach/mach/test/python.ini",
70 "mozboot/mozboot/test/python.ini",
71 "mozbuild/mozbuild/repackaging/test/python.ini",
72 "mozbuild/mozbuild/test/python.ini",
73 "mozbuild/mozpack/test/python.ini",
74 "mozlint/test/python.ini",
75 "mozrelease/test/python.ini",
76 "mozterm/test/python.ini",
77 "mozversioncontrol/test/python.ini",