2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:18 +00: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 16:17:11 +00: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('Android.mk'):
|
|
|
|
BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')
|
|
|
|
|
|
|
|
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')
|
|
|
|
|
|
|
|
with Files('README.txt'):
|
|
|
|
BUG_COMPONENT = ('Core', 'General')
|
|
|
|
|
2015-02-26 19:43:45 +00:00
|
|
|
with Files('**/Makefile.in'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Build Config')
|
|
|
|
FINAL = True
|
|
|
|
|
2016-01-30 17:05:36 +00:00
|
|
|
FILES_PER_UNIFIED_FILE = 1
|
|
|
|
|
2013-10-23 21:43:32 +00:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
2014-01-13 22:38:40 +00:00
|
|
|
'config/autoconf.mk',
|
|
|
|
'config/emptyvars.mk',
|
2013-10-23 21:43:32 +00:00
|
|
|
]
|
2013-02-25 21:20:01 +00:00
|
|
|
|
2014-02-11 01:37:47 +00:00
|
|
|
if CONFIG['ENABLE_CLANG_PLUGIN']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['build/clang-plugin']
|
|
|
|
|
|
|
|
DIRS += [
|
|
|
|
'config',
|
|
|
|
'python',
|
2016-05-16 22:53:22 +00:00
|
|
|
'taskcluster',
|
2017-02-01 14:56:33 +00:00
|
|
|
'testing/mozbase',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2014-02-11 01:37:47 +00:00
|
|
|
|
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2017-03-07 15:56:22 +00: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',
|
|
|
|
]
|
|
|
|
|
2014-01-13 22:38:40 +00:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
|
|
|
'tools/update-packaging/Makefile',
|
|
|
|
]
|
2015-12-04 01:51:12 +00:00
|
|
|
CONFIGURE_DEFINE_FILES += [
|
|
|
|
'mozilla-config.h',
|
|
|
|
]
|
2015-12-17 05:06:32 +00:00
|
|
|
EXPORTS += [
|
2016-02-09 05:36:07 +00:00
|
|
|
'!buildid.h',
|
2015-12-17 05:06:32 +00:00
|
|
|
'!mozilla-config.h',
|
2016-02-10 04:38:31 +00:00
|
|
|
'!source-repo.h',
|
2015-12-17 05:06:32 +00:00
|
|
|
]
|
2013-03-24 02:12:25 +00:00
|
|
|
|
2016-02-09 05:36:07 +00:00
|
|
|
GENERATED_FILES += [
|
|
|
|
'buildid.h',
|
2016-02-10 04:38:31 +00:00
|
|
|
'source-repo.h',
|
2016-02-09 05:36:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
|
2016-02-10 04:38:31 +00:00
|
|
|
GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
|
2016-02-09 05:36:07 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
|
|
|
'build',
|
|
|
|
'probes',
|
|
|
|
]
|
2013-12-17 23:07:11 +00:00
|
|
|
|
2015-10-06 03:13:33 +00:00
|
|
|
DIRS += [
|
2015-11-18 10:13:22 +00:00
|
|
|
'config/external/fdlibm',
|
2016-04-15 16:17:40 +00:00
|
|
|
'config/external/nspr',
|
2015-10-06 03:13:33 +00:00
|
|
|
'config/external/zlib',
|
|
|
|
'memory',
|
|
|
|
'mfbt',
|
|
|
|
'mozglue',
|
|
|
|
]
|
2014-07-16 23:42:17 +00:00
|
|
|
|
2014-02-11 01:37:47 +00:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['xpcom/xpidl']
|
2014-01-13 22:38:40 +00:00
|
|
|
|
2016-04-15 16:17:40 +00:00
|
|
|
if CONFIG['USE_ICU']:
|
|
|
|
DIRS += ['config/external/icu']
|
|
|
|
|
2015-10-06 03:13:33 +00:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
2014-02-11 01:37:47 +00:00
|
|
|
|
2014-02-25 22:15:16 +00:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
|
|
|
'config/external',
|
2016-11-09 17:37:09 +00:00
|
|
|
'security',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2014-02-11 01:37:47 +00:00
|
|
|
|
2014-08-07 05:21:03 +00:00
|
|
|
if CONFIG['BUILD_CTYPES']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['config/external/ffi']
|
2016-04-15 16:17:40 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['js/src']
|
2016-02-12 02:46:46 +00:00
|
|
|
else:
|
|
|
|
TEST_DIRS += ['js/src/tests']
|
2014-02-11 01:37:47 +00:00
|
|
|
|
2015-02-26 18:21:52 +00:00
|
|
|
if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
|
2014-01-13 22:38:40 +00:00
|
|
|
# Bring in the configuration for the configured application.
|
|
|
|
include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
|
2014-08-24 00:11:05 +00:00
|
|
|
|
2016-09-08 22:12:34 +00:00
|
|
|
CONFIGURE_SUBST_FILES += ['.cargo/config']
|
|
|
|
|
2014-08-24 00:11:05 +00:00
|
|
|
include('build/templates.mozbuild')
|