Bug 1625879 [wpt PR 22523] - [COEP] Make WPT testing reporting to have a long timeout...
[gecko.git] / toolkit / toolkit.mozbuild
blob299230cb3bde5ecd111454ed6f59d1f0504b67a1
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',
22 DIRS += [
23     '/tools',
24     '/xpcom/xpidl',
27 if CONFIG['COMPILE_ENVIRONMENT']:
28     DIRS += [
29         '/config/external',
30         '/security',
31     ]
33 if CONFIG['ENABLE_TESTS']:
34     DIRS += [
35         '/toolkit/library/gtest/rust',
36     ]
38 DIRS += [
39     '/toolkit/library/rust',
42 if CONFIG['MOZ_SANDBOX']:
43     DIRS += ['/security/sandbox']
45 DIRS += [
46     # Depends on NSS and NSPR
47     '/security/certverifier',
48     # Depends on certverifier
49     '/security/apps',
52 # the signing related bits of libmar depend on nss
53 if CONFIG['MOZ_UPDATER']:
54     DIRS += ['/modules/libmar']
56 DIRS += [
57     '/config/external/freetype2',
58     '/xpcom',
59     '/modules/libpref',
60     '/intl',
61     '/netwerk',
64 if CONFIG['MOZ_AUTH_EXTENSION']:
65     DIRS += ['/extensions/auth']
67 if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
68     DIRS += [
69         '/toolkit/mozapps/update/updater/bspatch',
70         '/other-licenses/bsdiff',
71     ]
73 # Gecko/Core components.
75 DIRS += [
76     '/ipc',
77     '/js/ipc',
78     '/hal',
79     '/js/xpconnect',
80     '/modules/libjar',
81     '/storage',
84 if CONFIG['COMPILE_ENVIRONMENT']:
85     DIRS += [
86         '/media/libyuv',
87     ]
89 DIRS += [
90     '/extensions/permissions',
93 if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
94     DIRS += [
95         '/media/webrtc',
96         '/media/mtransport',
97     ]
99 if CONFIG['ENABLE_TESTS']:
100     DIRS += ['/testing/specialpowers']
102 DIRS += [
103     '/testing/gtest',
104     '/uriloader',
105     '/caps',
106     '/parser',
107     '/gfx',
108     '/image',
109     '/dom',
110     '/view',
111     '/widget',
112     '/editor',
113     '/layout',
114     '/docshell',
115     '/xpfe/appshell'
118 if CONFIG['MOZ_UNIVERSALCHARDET']:
119     DIRS += ['/extensions/universalchardet']
121 if CONFIG['ACCESSIBILITY']:
122     DIRS += ['/accessible']
123 else:
124     DIRS += ['/accessible/ipc']
126 # toolkit
128 # This must precede xpfe.
129 if CONFIG['MOZ_JPROF']:
130     DIRS += ['/tools/jprof']
132 DIRS += [
133     '/tools/code-coverage',
134     '/tools/performance',
135     '/tools/power',
136     '/tools/profiler',
139 if CONFIG['MOZ_SPELLCHECK']:
140     DIRS += ['/extensions/spellcheck']
142 DIRS += [
143     '/security/manager',
144     '/toolkit',
147 if CONFIG['MOZ_PREF_EXTENSIONS']:
148     DIRS += ['/extensions/pref']
150 DIRS += [
151     '/devtools',
152     '/toolkit/library',
153     '/services',
154     '/startupcache',
155     '/js/ductwork/debugger',
156     '/other-licenses/snappy',
159 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
160     DIRS += [
161         '/toolkit/system/gnome',
162     ]
164 if CONFIG['ENABLE_REMOTE_AGENT']:
165     DIRS += ['/remote']
167 if CONFIG['ENABLE_MARIONETTE']:
168     DIRS += [
169         '/testing/firefox-ui',
170         '/testing/marionette',
171         '/toolkit/components/telemetry/tests/marionette',
172     ]
174 if CONFIG['ENABLE_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
175     DIRS += ['/testing/geckodriver']
177 DIRS += [
178     '/tools/quitter',
179     '/media/gmp-clearkey/0.1',
182 if CONFIG['ENABLE_TESTS']:
183     DIRS += [
184         '/testing/mochitest',
185         '/testing/xpcshell',
186         '/testing/tools/minidumpwriter',
187         '/testing/tools/screenshot',
188         '/testing/profiles',
189         '/testing/modules',
190         '/testing/runtimes',
191         '/testing/web-platform',
192         '/testing/extensions',
193     ]
195     # The file id utility requires breakpad libraries.
196     if CONFIG['MOZ_CRASHREPORTER']:
197         DIRS += ['/testing/tools/fileid']
199     if CONFIG['MOZ_MEMORY']:
200         DIRS += ['/memory/gtest']
202     if CONFIG['MOZ_WEBRTC'] and not CONFIG['MOZ_TASK_TRACER']:
203         DIRS += [
204             '/media/mtransport/test',
205         ]
207 if CONFIG['FUZZING']:
208     DIRS += ['/tools/fuzzing']