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 "/js/src/tests/test/python.toml",
11 "/layout/tools/reftest/selftest/python.toml",
12 "/testing/condprofile/condprof/tests/python.toml",
13 "/testing/marionette/harness/marionette_harness/tests/harness_unit/python.toml",
14 "/testing/mochitest/tests/python/python.toml",
15 "/testing/raptor/test/python.toml",
16 "/testing/talos/talos/unittests/python.toml",
24 if CONFIG["COMPILE_ENVIRONMENT"]:
30 if CONFIG["ENABLE_TESTS"]:
32 "/toolkit/library/gtest/rust",
35 if not CONFIG["MOZ_OVERRIDE_GKRUST"]:
37 "/toolkit/library/rust",
40 if CONFIG["MOZ_SANDBOX"]:
41 DIRS += ["/security/sandbox"]
43 if CONFIG["MOZ_USING_WASM_SANDBOXING"] and CONFIG["COMPILE_ENVIRONMENT"]:
44 DIRS += ["/security/rlbox"]
46 # the signing related bits of libmar depend on nss
47 if CONFIG["MOZ_UPDATER"]:
48 DIRS += ["/modules/libmar"]
51 "/config/external/freetype2",
58 if CONFIG["MOZ_AUTH_EXTENSION"]:
59 DIRS += ["/extensions/auth"]
61 if CONFIG["MOZ_UPDATER"] and CONFIG["OS_TARGET"] != "Android":
63 "/toolkit/mozapps/update/updater/bspatch",
64 "/other-licenses/bsdiff",
67 # Gecko/Core components.
78 if CONFIG["COMPILE_ENVIRONMENT"]:
84 "/extensions/permissions",
87 if CONFIG["MOZ_WEBRTC"] and CONFIG["COMPILE_ENVIRONMENT"]:
90 "/dom/media/webrtc/transport",
93 if CONFIG["ENABLE_TESTS"]:
94 DIRS += ["/testing/specialpowers"]
112 if CONFIG["MOZ_UNIVERSALCHARDET"]:
113 DIRS += ["/extensions/universalchardet"]
115 if CONFIG["ACCESSIBILITY"]:
116 DIRS += ["/accessible"]
118 DIRS += ["/accessible/ipc"]
122 # This must precede xpfe.
123 if CONFIG["MOZ_JPROF"]:
124 DIRS += ["/tools/jprof"]
127 "/tools/code-coverage",
128 "/tools/performance",
131 "/extensions/spellcheck",
132 "/security/certverifier",
137 if CONFIG["MOZ_PREF_EXTENSIONS"]:
138 DIRS += ["/extensions/pref"]
145 "/other-licenses/snappy",
148 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
151 "/toolkit/system/gnome",
154 if CONFIG["ENABLE_WEBDRIVER"]:
157 "/testing/firefox-ui",
158 "/testing/marionette",
159 "/toolkit/components/telemetry/tests/marionette",
163 CONFIG["MOZ_GECKODRIVER"]
164 and not CONFIG["MOZ_TSAN"]
165 and not CONFIG["FUZZING_INTERFACES"]
167 DIRS += ["/testing/geckodriver"]
170 "/media/gmp-clearkey/0.1",
173 if CONFIG["MOZ_WMF_CDM"] and CONFIG["ENABLE_TESTS"]:
175 "/media/wmf-clearkey",
178 if CONFIG["ENABLE_TESTS"]:
180 "/testing/mochitest",
182 "/testing/tools/minidumpwriter",
183 "/testing/tools/screenshot",
187 "/testing/web-platform",
188 "/testing/extensions",
191 if CONFIG["MOZ_MEMORY"]:
192 DIRS += ["/memory/gtest"]
194 if CONFIG["MOZ_WEBRTC"]:
196 "/dom/media/webrtc/transport/test",
199 if CONFIG["FUZZING"]:
200 DIRS += ["/tools/fuzzing"]