2016-08-06 04:49:26 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:19:09 +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-11-08 00:19:09 +00:00
|
|
|
include('/js/app.mozbuild')
|
|
|
|
|
|
|
|
PYTHON_UNITTEST_MANIFESTS += [
|
|
|
|
'/layout/tools/reftest/selftest/python.ini',
|
2019-11-14 15:02:44 +00:00
|
|
|
'/testing/condprofile/condprof/tests/python.ini',
|
2017-11-08 00:19:09 +00:00
|
|
|
'/testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
|
|
|
|
'/testing/mochitest/tests/python/python.ini',
|
2018-04-16 21:15:38 +00:00
|
|
|
'/testing/raptor/test/python.ini',
|
2017-11-08 00:19:09 +00:00
|
|
|
'/testing/talos/talos/unittests/python.ini'
|
|
|
|
]
|
|
|
|
|
|
|
|
CONFIGURE_SUBST_FILES += [
|
|
|
|
'/tools/update-packaging/Makefile',
|
|
|
|
]
|
|
|
|
|
|
|
|
DIRS += [
|
|
|
|
'/tools',
|
|
|
|
'/xpcom/xpidl',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
DIRS += [
|
|
|
|
'/config/external',
|
|
|
|
'/security',
|
|
|
|
]
|
|
|
|
|
2017-08-28 18:12:24 +00:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DIRS += [
|
|
|
|
'/toolkit/library/gtest/rust',
|
|
|
|
]
|
|
|
|
|
2017-06-14 06:12:06 +00:00
|
|
|
DIRS += [
|
|
|
|
'/toolkit/library/rust',
|
|
|
|
]
|
|
|
|
|
2014-08-27 14:32:55 +00:00
|
|
|
if CONFIG['MOZ_SANDBOX']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/security/sandbox']
|
2013-08-12 19:58:35 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2018-03-20 09:46:23 +00:00
|
|
|
# Depends on NSS and NSPR
|
2014-10-02 00:14:07 +00:00
|
|
|
'/security/certverifier',
|
2014-10-02 00:14:07 +00:00
|
|
|
# Depends on certverifier
|
2014-10-02 00:14:07 +00:00
|
|
|
'/security/apps',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2014-02-14 22:37:07 +00:00
|
|
|
|
2013-08-09 22:01:08 +00:00
|
|
|
# the signing related bits of libmar depend on nss
|
|
|
|
if CONFIG['MOZ_UPDATER']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/modules/libmar']
|
2013-08-09 22:01:08 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/config/external/freetype2',
|
|
|
|
'/xpcom',
|
|
|
|
'/modules/libpref',
|
|
|
|
'/intl',
|
|
|
|
'/netwerk',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_AUTH_EXTENSION']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/extensions/auth']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2017-12-05 14:51:49 +00:00
|
|
|
if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
|
2018-12-10 19:07:42 +00:00
|
|
|
DIRS += [
|
|
|
|
'/toolkit/mozapps/update/updater/bspatch',
|
|
|
|
'/other-licenses/bsdiff',
|
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
# Gecko/Core components.
|
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/ipc',
|
|
|
|
'/hal',
|
|
|
|
'/js/xpconnect',
|
|
|
|
'/modules/libjar',
|
|
|
|
'/storage',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2017-06-16 02:30:43 +00:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
|
|
|
DIRS += [
|
|
|
|
'/media/libyuv',
|
|
|
|
]
|
|
|
|
|
2017-12-13 22:02:41 +00:00
|
|
|
DIRS += [
|
|
|
|
'/extensions/permissions',
|
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2017-06-16 02:30:43 +00:00
|
|
|
if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/media/webrtc',
|
2015-04-09 13:15:00 +00:00
|
|
|
'/media/mtransport',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG['ENABLE_TESTS']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/testing/specialpowers']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/testing/gtest',
|
|
|
|
'/uriloader',
|
|
|
|
'/caps',
|
|
|
|
'/parser',
|
|
|
|
'/gfx',
|
|
|
|
'/image',
|
|
|
|
'/dom',
|
|
|
|
'/view',
|
|
|
|
'/widget',
|
|
|
|
'/editor',
|
|
|
|
'/layout',
|
|
|
|
'/docshell',
|
|
|
|
'/xpfe/appshell'
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_UNIVERSALCHARDET']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/extensions/universalchardet']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG['ACCESSIBILITY']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/accessible']
|
2014-03-07 21:35:19 +00:00
|
|
|
else:
|
|
|
|
DIRS += ['/accessible/ipc']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
# toolkit
|
|
|
|
|
|
|
|
# This must precede xpfe.
|
|
|
|
if CONFIG['MOZ_JPROF']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/tools/jprof']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2017-07-14 08:58:56 +00:00
|
|
|
'/tools/code-coverage',
|
2019-05-21 19:01:31 +00:00
|
|
|
'/tools/performance',
|
2015-08-20 05:25:30 +00:00
|
|
|
'/tools/power',
|
2014-10-02 00:14:07 +00:00
|
|
|
'/tools/profiler',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_SPELLCHECK']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/extensions/spellcheck']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/security/manager',
|
|
|
|
'/toolkit',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_PREF_EXTENSIONS']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += ['/extensions/pref']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2015-10-23 07:39:38 +00:00
|
|
|
'/devtools',
|
2017-05-09 18:36:13 +00:00
|
|
|
'/toolkit/library',
|
2014-10-02 00:14:07 +00:00
|
|
|
'/services',
|
|
|
|
'/startupcache',
|
|
|
|
'/js/ductwork/debugger',
|
|
|
|
'/other-licenses/snappy',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2019-08-21 12:25:42 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
2018-10-04 13:55:55 +00:00
|
|
|
DIRS += [
|
|
|
|
'/toolkit/system/gnome',
|
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2019-03-08 16:43:29 +00:00
|
|
|
if CONFIG['ENABLE_REMOTE_AGENT']:
|
|
|
|
DIRS += ['/remote']
|
|
|
|
|
2016-12-16 23:49:14 +00:00
|
|
|
if CONFIG['ENABLE_MARIONETTE']:
|
2016-09-21 08:31:05 +00:00
|
|
|
DIRS += [
|
|
|
|
'/testing/firefox-ui',
|
|
|
|
'/testing/marionette',
|
2019-05-20 08:59:56 +00:00
|
|
|
'/toolkit/components/telemetry/tests/marionette',
|
2016-09-21 08:31:05 +00:00
|
|
|
]
|
2011-05-26 13:07:35 +00:00
|
|
|
|
2019-03-19 17:01:38 +00:00
|
|
|
if CONFIG['ENABLE_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
|
2017-05-27 17:51:40 +00:00
|
|
|
DIRS += ['/testing/geckodriver']
|
2017-05-23 13:55:54 +00:00
|
|
|
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/tools/quitter',
|
|
|
|
'/media/gmp-clearkey/0.1',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2014-09-23 22:04:49 +00:00
|
|
|
|
2013-02-25 21:19:09 +00:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
2014-10-02 00:14:07 +00:00
|
|
|
DIRS += [
|
2014-10-02 00:14:07 +00:00
|
|
|
'/testing/mochitest',
|
|
|
|
'/testing/xpcshell',
|
2015-08-19 00:04:45 +00:00
|
|
|
'/testing/tools/minidumpwriter',
|
2014-10-02 00:14:07 +00:00
|
|
|
'/testing/tools/screenshot',
|
|
|
|
'/testing/profiles',
|
|
|
|
'/testing/modules',
|
2015-03-11 20:05:36 +00:00
|
|
|
'/testing/runtimes',
|
2014-10-02 00:14:07 +00:00
|
|
|
'/testing/web-platform',
|
2019-02-06 06:21:43 +00:00
|
|
|
'/testing/extensions',
|
2014-10-02 00:14:07 +00:00
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2016-01-06 18:52:21 +00:00
|
|
|
# The file id utility requires breakpad libraries.
|
|
|
|
if CONFIG['MOZ_CRASHREPORTER']:
|
|
|
|
DIRS += ['/testing/tools/fileid']
|
|
|
|
|
2016-11-10 19:21:30 +00:00
|
|
|
if CONFIG['MOZ_MEMORY']:
|
|
|
|
DIRS += ['/memory/gtest']
|
|
|
|
|
2016-11-11 15:32:54 +00:00
|
|
|
if CONFIG['MOZ_WEBRTC'] and not CONFIG['MOZ_TASK_TRACER']:
|
|
|
|
DIRS += [
|
|
|
|
'/media/mtransport/test',
|
|
|
|
]
|
2016-09-10 00:27:23 +00:00
|
|
|
|
2016-10-17 20:19:03 +00:00
|
|
|
if CONFIG['FUZZING']:
|
|
|
|
DIRS += ['/tools/fuzzing']
|