1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 include('/js/app.mozbuild')
9 PYTHON_UNITTEST_MANIFESTS += [
10 '/layout/tools/reftest/selftest/python.ini',
11 '/testing/condprofile/condprof/tests/python.ini',
12 '/testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
13 '/testing/mochitest/tests/python/python.ini',
14 '/testing/raptor/test/python.ini',
15 '/testing/talos/talos/unittests/python.ini'
18 CONFIGURE_SUBST_FILES += [
19 '/tools/update-packaging/Makefile',
27 if CONFIG['COMPILE_ENVIRONMENT']:
33 if CONFIG['ENABLE_TESTS']:
35 '/toolkit/library/gtest/rust',
39 '/toolkit/library/rust',
42 if CONFIG['MOZ_SANDBOX']:
43 DIRS += ['/security/sandbox']
46 # Depends on NSS and NSPR
47 '/security/certverifier',
48 # Depends on certverifier
52 # the signing related bits of libmar depend on nss
53 if CONFIG['MOZ_UPDATER']:
54 DIRS += ['/modules/libmar']
57 '/config/external/freetype2',
64 if CONFIG['MOZ_AUTH_EXTENSION']:
65 DIRS += ['/extensions/auth']
67 if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
69 '/toolkit/mozapps/update/updater/bspatch',
70 '/other-licenses/bsdiff',
73 # Gecko/Core components.
83 if CONFIG['COMPILE_ENVIRONMENT']:
89 '/extensions/permissions',
92 if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
95 '/dom/media/webrtc/transport',
98 if CONFIG['ENABLE_TESTS']:
99 DIRS += ['/testing/specialpowers']
117 if CONFIG['MOZ_UNIVERSALCHARDET']:
118 DIRS += ['/extensions/universalchardet']
120 if CONFIG['ACCESSIBILITY']:
121 DIRS += ['/accessible']
123 DIRS += ['/accessible/ipc']
127 # This must precede xpfe.
128 if CONFIG['MOZ_JPROF']:
129 DIRS += ['/tools/jprof']
132 '/tools/code-coverage',
133 '/tools/performance',
138 if CONFIG['MOZ_SPELLCHECK']:
139 DIRS += ['/extensions/spellcheck']
146 if CONFIG['MOZ_PREF_EXTENSIONS']:
147 DIRS += ['/extensions/pref']
154 '/js/ductwork/debugger',
155 '/other-licenses/snappy',
158 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
160 '/toolkit/system/gnome',
163 if CONFIG['ENABLE_REMOTE_AGENT']:
166 if CONFIG['ENABLE_MARIONETTE']:
168 '/testing/firefox-ui',
169 '/testing/marionette',
170 '/toolkit/components/telemetry/tests/marionette',
173 if CONFIG['ENABLE_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
174 DIRS += ['/testing/geckodriver']
178 '/media/gmp-clearkey/0.1',
181 if CONFIG['ENABLE_TESTS']:
183 '/testing/mochitest',
185 '/testing/tools/minidumpwriter',
186 '/testing/tools/screenshot',
190 '/testing/web-platform',
191 '/testing/extensions',
194 if CONFIG['MOZ_MEMORY']:
195 DIRS += ['/memory/gtest']
197 if CONFIG['MOZ_WEBRTC'] and not CONFIG['MOZ_TASK_TRACER']:
199 '/dom/media/webrtc/transport/test',
202 if CONFIG['FUZZING']:
203 DIRS += ['/tools/fuzzing']