2016-07-14 10:16:42 -06:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2017-03-08 11:17:11 -05:00
|
|
|
with Files('AUTHORS'):
|
|
|
|
BUG_COMPONENT = ('mozilla.org', 'Licensing')
|
|
|
|
|
|
|
|
with Files('LICENSE'):
|
|
|
|
BUG_COMPONENT = ('mozilla.org', 'Licensing')
|
|
|
|
|
|
|
|
with Files('LEGAL'):
|
|
|
|
BUG_COMPONENT = ('mozilla.org', 'Licensing')
|
|
|
|
|
|
|
|
with Files('aclocal.m4'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
2018-03-01 14:33:35 -08:00
|
|
|
with Files('Cargo.*'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2018-03-01 14:33:35 -08:00
|
|
|
|
2017-03-08 11:17:11 -05:00
|
|
|
with Files('client.*'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
|
|
|
with Files('CLOBBER'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
|
|
|
with Files('*configure*'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
|
|
|
with Files('mach'):
|
2018-11-19 13:35:14 +00:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'Mach Core')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
|
|
|
with Files('*moz*'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
|
|
|
with Files('GNUmakefile'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-03-08 11:17:11 -05:00
|
|
|
|
|
|
|
with Files('*gradle*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
|
2017-08-25 19:31:54 +00:00
|
|
|
SCHEDULES.exclusive = ['android']
|
2017-03-08 11:17:11 -05:00
|
|
|
|
2017-10-30 19:07:20 -04:00
|
|
|
with Files('*.json'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-10-30 19:07:20 -04:00
|
|
|
|
2017-06-05 10:28:33 +02:00
|
|
|
with Files('**/l10n.toml'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Localization')
|
|
|
|
FINAL = True
|
|
|
|
|
2017-03-08 11:17:11 -05:00
|
|
|
with Files('README.txt'):
|
|
|
|
BUG_COMPONENT = ('Core', 'General')
|
|
|
|
|
2017-10-26 04:53:25 -04:00
|
|
|
with Files("nsprpub/**"):
|
|
|
|
BUG_COMPONENT = ("NSPR", "NSPR")
|
|
|
|
|
2015-02-26 11:43:45 -08:00
|
|
|
with Files('**/Makefile.in'):
|
2018-03-14 21:44:46 +01:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2015-02-26 11:43:45 -08:00
|
|
|
FINAL = True
|
|
|
|
|
2017-12-20 00:39:21 +00:00
|
|
|
with Files("**/*.js"):
|
2019-05-17 22:29:33 +00:00
|
|
|
SCHEDULES.inclusive += ['docs']
|
2017-10-02 18:22:56 +00:00
|
|
|
|
|
|
|
with Files("**/*.jsm"):
|
|
|
|
SCHEDULES.inclusive += ['docs']
|
|
|
|
|
|
|
|
with Files("**/*.rst"):
|
|
|
|
SCHEDULES.inclusive += ['docs']
|
|
|
|
|
|
|
|
with Files("**/*.md"):
|
|
|
|
SCHEDULES.inclusive += ['docs']
|
2017-12-20 00:39:21 +00:00
|
|
|
|
2019-05-17 22:29:33 +00:00
|
|
|
with Files("**/reftest.list"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/crashtest*.list"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/mochitest.ini"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/browser.ini"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/chrome.ini"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/xpcshell.ini"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/reftest*/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/crashtest*/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/mochitest*/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/xpcshell/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/tests/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/test/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/unit/**"):
|
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
|
|
|
|
|
|
|
with Files("**/browser/tools/mozscreenshots/**"):
|
2018-04-24 10:20:19 -04:00
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
2017-12-20 00:39:21 +00:00
|
|
|
|
2019-05-17 22:29:33 +00:00
|
|
|
with Files("**/devtools/shared/test-helpers/**"):
|
2018-04-24 10:20:19 -04:00
|
|
|
SCHEDULES.inclusive += ['test-verify', 'test-verify-gpu']
|
2017-12-20 00:39:21 +00:00
|
|
|
|
2013-10-23 14:43:32 -07:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
2014-01-14 07:38:40 +09:00
|
|
|
'config/autoconf.mk',
|
|
|
|
'config/emptyvars.mk',
|
2013-10-23 14:43:32 -07:00
|
|
|
]
|
2013-02-25 13:20:01 -08:00
|
|
|
|
2014-02-11 10:37:47 +09:00
|
|
|
if CONFIG['ENABLE_CLANG_PLUGIN']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['build/clang-plugin']
|
|
|
|
|
|
|
|
DIRS += [
|
|
|
|
'config',
|
|
|
|
'python',
|
2016-05-16 22:53:22 +00:00
|
|
|
'taskcluster',
|
2017-02-01 09:56:33 -05:00
|
|
|
'testing/mozbase',
|
2017-05-25 11:48:03 -04:00
|
|
|
'third_party/python',
|
2014-10-02 09:14:07 +09:00
|
|
|
]
|
2014-02-11 10:37:47 +09:00
|
|
|
|
2017-11-15 14:21:15 +09:00
|
|
|
if not CONFIG['JS_STANDALONE'] or not CONFIG['MOZ_BUILD_APP']:
|
2015-12-04 10:51:12 +09:00
|
|
|
CONFIGURE_DEFINE_FILES += [
|
|
|
|
'mozilla-config.h',
|
|
|
|
]
|
2015-12-17 14:06:32 +09:00
|
|
|
EXPORTS += [
|
2016-02-09 14:36:07 +09:00
|
|
|
'!buildid.h',
|
2015-12-17 14:06:32 +09:00
|
|
|
'!mozilla-config.h',
|
2016-02-10 13:38:31 +09:00
|
|
|
'!source-repo.h',
|
2015-12-17 14:06:32 +09:00
|
|
|
]
|
2013-03-23 21:12:25 -05:00
|
|
|
|
2016-02-09 14:36:07 +09:00
|
|
|
GENERATED_FILES += [
|
|
|
|
'buildid.h',
|
2016-02-10 13:38:31 +09:00
|
|
|
'source-repo.h',
|
2016-02-09 14:36:07 +09:00
|
|
|
]
|
|
|
|
|
|
|
|
GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
|
2016-02-10 13:38:31 +09:00
|
|
|
GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
|
2016-02-09 14:36:07 +09:00
|
|
|
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += [
|
|
|
|
'build',
|
|
|
|
]
|
2013-12-18 08:07:11 +09:00
|
|
|
|
2015-10-06 12:13:33 +09:00
|
|
|
DIRS += [
|
|
|
|
'mfbt',
|
|
|
|
]
|
2014-07-17 08:42:17 +09:00
|
|
|
|
2017-11-08 09:19:09 +09:00
|
|
|
if CONFIG['MOZ_BUILD_APP']:
|
2014-01-14 07:38:40 +09:00
|
|
|
# Bring in the configuration for the configured application.
|
|
|
|
include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
|
2017-11-08 09:19:09 +09:00
|
|
|
else:
|
|
|
|
include('/toolkit/toolkit.mozbuild')
|
2014-08-24 09:11:05 +09:00
|
|
|
|
2019-08-22 21:27:24 +00:00
|
|
|
OBJDIR_PP_FILES['.cargo'] += ['.cargo/config.in']
|
|
|
|
|
|
|
|
DEFINES['top_srcdir'] = TOPSRCDIR
|
2016-09-08 15:12:34 -07:00
|
|
|
|
2014-08-24 09:11:05 +09:00
|
|
|
include('build/templates.mozbuild')
|