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('mach/**'):
15 BUG_COMPONENT = ('Core', 'mach')
17 with Files('mozboot/**'):
18 BUG_COMPONENT = ('Firefox Build System', 'Bootstrap Configuration')
20 with Files('mozbuild/**'):
21 BUG_COMPONENT = ('Firefox Build System', 'General')
23 with Files('mozlint/**'):
24 BUG_COMPONENT = ('Testing', 'Lint')
26 with Files('mozversioncontrol/**'):
27 BUG_COMPONENT = ('Firefox Build System', 'General')
29 with Files('l10n/**'):
30 BUG_COMPONENT = ('Firefox Build System', 'General')
32 with Files('mozrelease/**'):
33 BUG_COMPONENT = ('Release Engineering', 'Release Automation')
35 with Files('mach_commands.py'):
36 BUG_COMPONENT = ('Testing', 'Python Test')
38 SPHINX_PYTHON_PACKAGE_DIRS += [
43 'mozversioncontrol/mozversioncontrol',
47 SCHEDULES.inclusive += ['docs']
49 SPHINX_TREES['mach'] = 'mach/docs'
51 SPHINX_TREES['python'] = 'docs'
53 with Files('mach/docs/**'):
54 SCHEDULES.exclusive = ['docs']
56 PYTHON_UNITTEST_MANIFESTS += [
57 'mach/mach/test/python.ini',
58 'mozbuild/dumbmake/test/python.ini',
59 'mozlint/test/python.ini',
60 'mozrelease/test/python.ini',
61 'mozterm/test/python.ini',
62 'mozversioncontrol/test/python.ini',
65 if CONFIG['MOZ_BUILD_APP']:
66 PYTHON_UNITTEST_MANIFESTS += [
67 'mozbuild/mozbuild/test/python.ini',
68 'mozbuild/mozpack/test/python.ini',