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'
23 if CONFIG['COMPILE_ENVIRONMENT']:
29 if CONFIG['ENABLE_TESTS']:
31 '/toolkit/library/gtest/rust',
35 '/toolkit/library/rust',
38 if CONFIG['MOZ_SANDBOX']:
39 DIRS += ['/security/sandbox']
41 if CONFIG["MOZ_USING_WASM_SANDBOXING"] and CONFIG["COMPILE_ENVIRONMENT"]:
42 DIRS += ["/security/rlbox"]
44 # the signing related bits of libmar depend on nss
45 if CONFIG['MOZ_UPDATER']:
46 DIRS += ['/modules/libmar']
49 '/config/external/freetype2',
56 if CONFIG['MOZ_AUTH_EXTENSION']:
57 DIRS += ['/extensions/auth']
59 if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
61 '/toolkit/mozapps/update/updater/bspatch',
62 '/other-licenses/bsdiff',
65 # Gecko/Core components.
76 if CONFIG['COMPILE_ENVIRONMENT']:
82 '/extensions/permissions',
85 if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
88 '/dom/media/webrtc/transport',
91 if CONFIG['ENABLE_TESTS']:
92 DIRS += ['/testing/specialpowers']
110 if CONFIG['MOZ_UNIVERSALCHARDET']:
111 DIRS += ['/extensions/universalchardet']
113 if CONFIG['ACCESSIBILITY']:
114 DIRS += ['/accessible']
116 DIRS += ['/accessible/ipc']
120 # This must precede xpfe.
121 if CONFIG['MOZ_JPROF']:
122 DIRS += ['/tools/jprof']
125 '/tools/code-coverage',
126 '/tools/performance',
129 '/extensions/spellcheck',
130 '/security/certverifier',
135 if CONFIG['MOZ_PREF_EXTENSIONS']:
136 DIRS += ['/extensions/pref']
143 '/other-licenses/snappy',
146 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
148 '/toolkit/system/gnome',
151 if CONFIG['ENABLE_WEBDRIVER']:
154 '/testing/firefox-ui',
155 '/testing/marionette',
156 '/toolkit/components/telemetry/tests/marionette',
159 if CONFIG['MOZ_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
160 DIRS += ['/testing/geckodriver']
163 '/media/gmp-clearkey/0.1',
166 if CONFIG['ENABLE_TESTS']:
168 '/testing/mochitest',
170 '/testing/tools/minidumpwriter',
171 '/testing/tools/screenshot',
175 '/testing/web-platform',
176 '/testing/extensions',
179 if CONFIG['MOZ_MEMORY']:
180 DIRS += ['/memory/gtest']
182 if CONFIG['MOZ_WEBRTC']:
184 '/dom/media/webrtc/transport/test',
187 if CONFIG['FUZZING']:
188 DIRS += ['/tools/fuzzing']
190 if CONFIG['MOZ_WAYLAND']:
191 DIRS += ['/media/mozva']