2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
1998-08-20 00:42:14 +04:00
|
|
|
|
2017-03-08 19:17:12 +03:00
|
|
|
# Default extra components to build config
|
|
|
|
with Files('**'):
|
2018-03-14 23:44:46 +03:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 19:17:12 +03:00
|
|
|
|
|
|
|
with Files('devtools/**'):
|
2018-06-20 21:34:40 +03:00
|
|
|
BUG_COMPONENT = ('DevTools', 'General')
|
2017-03-08 19:17:12 +03:00
|
|
|
|
2015-02-26 22:43:45 +03:00
|
|
|
with Files('mach/**'):
|
2018-11-19 16:35:14 +03:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'Mach Core')
|
2015-02-26 22:43:45 +03:00
|
|
|
|
2017-03-08 19:17:12 +03:00
|
|
|
with Files('mozboot/**'):
|
2018-03-14 23:44:46 +03:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'Bootstrap Configuration')
|
2017-03-08 19:17:12 +03:00
|
|
|
|
2015-02-26 22:43:45 +03:00
|
|
|
with Files('mozbuild/**'):
|
2018-03-14 23:44:46 +03:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2015-02-26 22:43:45 +03:00
|
|
|
|
2017-03-08 19:17:12 +03:00
|
|
|
with Files('mozlint/**'):
|
|
|
|
BUG_COMPONENT = ('Testing', 'Lint')
|
|
|
|
|
|
|
|
with Files('mozversioncontrol/**'):
|
2018-03-14 23:44:46 +03:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 19:17:12 +03:00
|
|
|
|
2017-11-09 23:11:32 +03:00
|
|
|
with Files('l10n/**'):
|
2018-03-14 23:44:46 +03:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-11-09 23:11:32 +03:00
|
|
|
|
2018-02-23 14:00:02 +03:00
|
|
|
with Files('mozrelease/**'):
|
|
|
|
BUG_COMPONENT = ('Release Engineering', 'Release Automation')
|
|
|
|
|
2018-01-29 20:57:54 +03:00
|
|
|
with Files('mach_commands.py'):
|
|
|
|
BUG_COMPONENT = ('Testing', 'Python Test')
|
|
|
|
|
2013-11-21 00:37:22 +04:00
|
|
|
SPHINX_PYTHON_PACKAGE_DIRS += [
|
2014-12-07 21:40:19 +03:00
|
|
|
'mach',
|
2013-11-21 00:37:22 +04:00
|
|
|
'mozbuild/mozbuild',
|
|
|
|
'mozbuild/mozpack',
|
2016-03-18 20:54:07 +03:00
|
|
|
'mozlint/mozlint',
|
2013-11-21 00:37:22 +04:00
|
|
|
'mozversioncontrol/mozversioncontrol',
|
|
|
|
]
|
2014-07-28 19:51:12 +04:00
|
|
|
|
2017-10-02 21:22:56 +03:00
|
|
|
with Files('**.py'):
|
|
|
|
SCHEDULES.inclusive += ['docs']
|
|
|
|
|
2014-12-07 21:40:19 +03:00
|
|
|
SPHINX_TREES['mach'] = 'mach/docs'
|
|
|
|
|
2018-03-19 20:53:33 +03:00
|
|
|
SPHINX_TREES['python'] = 'docs'
|
|
|
|
|
2017-10-02 21:22:56 +03:00
|
|
|
with Files('mach/docs/**'):
|
|
|
|
SCHEDULES.exclusive = ['docs']
|
|
|
|
|
2016-11-16 17:59:22 +03:00
|
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
|
|
|
'mach/mach/test/python.ini',
|
2018-11-06 17:19:24 +03:00
|
|
|
'mozboot/mozboot/test/python.ini',
|
2016-11-16 17:59:22 +03:00
|
|
|
'mozbuild/dumbmake/test/python.ini',
|
|
|
|
'mozlint/test/python.ini',
|
2018-04-23 19:40:26 +03:00
|
|
|
'mozrelease/test/python.ini',
|
2017-12-04 17:38:24 +03:00
|
|
|
'mozterm/test/python.ini',
|
2017-09-25 23:30:27 +03:00
|
|
|
'mozversioncontrol/test/python.ini',
|
2014-07-28 19:51:12 +04:00
|
|
|
]
|
2017-02-01 17:56:09 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_BUILD_APP']:
|
|
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
|
|
|
'mozbuild/mozbuild/test/python.ini',
|
|
|
|
'mozbuild/mozpack/test/python.ini',
|
|
|
|
]
|