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:
|
|
|
|
# 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 19:17:11 +03: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'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
|
|
|
|
with Files('client.*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
|
|
|
|
with Files('CLOBBER'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
|
|
|
|
with Files('*configure*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
|
|
|
|
with Files('mach'):
|
|
|
|
BUG_COMPONENT = ('Core', 'mach')
|
|
|
|
|
|
|
|
with Files('*moz*'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
|
|
|
|
with Files('GNUmakefile'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
|
|
|
|
with Files('*gradle*'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
|
|
|
|
|
2017-06-05 11:28:33 +03:00
|
|
|
with Files('**/l10n.toml'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Localization')
|
|
|
|
FINAL = True
|
|
|
|
|
2017-03-08 19:17:11 +03:00
|
|
|
with Files('README.txt'):
|
|
|
|
BUG_COMPONENT = ('Core', 'General')
|
|
|
|
|
2015-02-26 22:43:45 +03:00
|
|
|
with Files('**/Makefile.in'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
FINAL = True
|
|
|
|
|
2016-01-30 20:05:36 +03:00
|
|
|
FILES_PER_UNIFIED_FILE = 1
|
|
|
|
|
2013-10-24 01:43:32 +04:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
2014-01-14 02:38:40 +04:00
|
|
|
'config/autoconf.mk',
|
|
|
|
'config/emptyvars.mk',
|
2013-10-24 01:43:32 +04:00
|
|
|
]
|
2013-02-26 01:20:01 +04:00
|
|
|
|
2014-02-11 05:37:47 +04:00
|
|
|
if CONFIG['ENABLE_CLANG_PLUGIN']:
|
2014-10-02 04:14:07 +04:00
|
|
|
DIRS += ['build/clang-plugin']
|
|
|
|
|
|
|
|
DIRS += [
|
|
|
|
'config',
|
|
|
|
'python',
|
2016-05-17 01:53:22 +03:00
|
|
|
'taskcluster',
|
2017-02-01 17:56:33 +03:00
|
|
|
'testing/mozbase',
|
2017-05-25 18:48:03 +03:00
|
|
|
'third_party/python',
|
2014-10-02 04:14:07 +04:00
|
|
|
]
|
2014-02-11 05:37:47 +04:00
|
|
|
|
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2017-03-07 18:56:22 +03:00
|
|
|
# These python manifests are included here so they get picked up without an objdir
|
|
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
|
|
|
'testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
|
2017-05-31 20:52:01 +03:00
|
|
|
'testing/mochitest/tests/python/python.ini',
|
2017-03-07 18:56:22 +03:00
|
|
|
]
|
|
|
|
|
2014-01-14 02:38:40 +04:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
|
|
|
'tools/update-packaging/Makefile',
|
|
|
|
]
|
2015-12-04 04:51:12 +03:00
|
|
|
CONFIGURE_DEFINE_FILES += [
|
|
|
|
'mozilla-config.h',
|
|
|
|
]
|
2015-12-17 08:06:32 +03:00
|
|
|
EXPORTS += [
|
2016-02-09 08:36:07 +03:00
|
|
|
'!buildid.h',
|
2015-12-17 08:06:32 +03:00
|
|
|
'!mozilla-config.h',
|
2016-02-10 07:38:31 +03:00
|
|
|
'!source-repo.h',
|
2015-12-17 08:06:32 +03:00
|
|
|
]
|
2013-03-24 06:12:25 +04:00
|
|
|
|
2016-02-09 08:36:07 +03:00
|
|
|
GENERATED_FILES += [
|
|
|
|
'buildid.h',
|
2016-02-10 07:38:31 +03:00
|
|
|
'source-repo.h',
|
2016-02-09 08:36:07 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
|
2016-02-10 07:38:31 +03:00
|
|
|
GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
|
2016-02-09 08:36:07 +03:00
|
|
|
|
2014-10-02 04:14:07 +04:00
|
|
|
DIRS += [
|
|
|
|
'build',
|
|
|
|
'probes',
|
|
|
|
]
|
2013-12-18 03:07:11 +04:00
|
|
|
|
2017-04-04 05:43:14 +03:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
DIRS += ['js/src']
|
|
|
|
|
2015-10-06 06:13:33 +03:00
|
|
|
DIRS += [
|
2015-11-18 13:13:22 +03:00
|
|
|
'config/external/fdlibm',
|
2016-04-15 19:17:40 +03:00
|
|
|
'config/external/nspr',
|
2015-10-06 06:13:33 +03:00
|
|
|
'config/external/zlib',
|
|
|
|
'memory',
|
|
|
|
'mfbt',
|
|
|
|
'mozglue',
|
|
|
|
]
|
2014-07-17 03:42:17 +04:00
|
|
|
|
2014-02-11 05:37:47 +04:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-10-02 04:14:07 +04:00
|
|
|
DIRS += ['xpcom/xpidl']
|
2014-01-14 02:38:40 +04:00
|
|
|
|
2016-04-15 19:17:40 +03:00
|
|
|
if CONFIG['USE_ICU']:
|
|
|
|
DIRS += ['config/external/icu']
|
|
|
|
|
2015-10-06 06:13:33 +03:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
2014-02-26 02:15:16 +04:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-10-02 04:14:07 +04:00
|
|
|
DIRS += [
|
|
|
|
'config/external',
|
2016-11-09 20:37:09 +03:00
|
|
|
'security',
|
2014-10-02 04:14:07 +04:00
|
|
|
]
|
2014-02-11 05:37:47 +04:00
|
|
|
|
2014-08-07 09:21:03 +04:00
|
|
|
if CONFIG['BUILD_CTYPES']:
|
2014-10-02 04:14:07 +04:00
|
|
|
DIRS += ['config/external/ffi']
|
2016-04-15 19:17:40 +03:00
|
|
|
|
2016-02-12 05:46:46 +03:00
|
|
|
else:
|
|
|
|
TEST_DIRS += ['js/src/tests']
|
2014-02-11 05:37:47 +04:00
|
|
|
|
2015-02-26 21:21:52 +03:00
|
|
|
if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
|
2014-01-14 02:38:40 +04:00
|
|
|
# Bring in the configuration for the configured application.
|
|
|
|
include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
|
2014-08-24 04:11:05 +04:00
|
|
|
|
2016-09-09 01:12:34 +03:00
|
|
|
CONFIGURE_SUBST_FILES += ['.cargo/config']
|
|
|
|
|
2014-08-24 04:11:05 +04:00
|
|
|
include('build/templates.mozbuild')
|