Bug 1799258 - span_iterator::difference_type s/index_type/ptrdiff/. r=bradwerth
[gecko.git] / toolkit / toolkit.mozbuild
blob04453a437873b2e6339cb7e81ee11c2a5bb46bb1
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 DIRS += [
19     '/tools',
20     '/xpcom/xpidl',
23 if CONFIG['COMPILE_ENVIRONMENT']:
24     DIRS += [
25         '/config/external',
26         '/security',
27     ]
29 if CONFIG['ENABLE_TESTS']:
30     DIRS += [
31         '/toolkit/library/gtest/rust',
32     ]
34 DIRS += [
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']
48 DIRS += [
49     '/config/external/freetype2',
50     '/xpcom',
51     '/modules/libpref',
52     '/intl',
53     '/netwerk',
56 if CONFIG['MOZ_AUTH_EXTENSION']:
57     DIRS += ['/extensions/auth']
59 if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
60     DIRS += [
61         '/toolkit/mozapps/update/updater/bspatch',
62         '/other-licenses/bsdiff',
63     ]
65 # Gecko/Core components.
67 DIRS += [
68     '/ipc',
69     '/hal',
70     '/js/loader',
71     '/js/xpconnect',
72     '/modules/libjar',
73     '/storage',
76 if CONFIG['COMPILE_ENVIRONMENT']:
77     DIRS += [
78         '/media/libyuv',
79     ]
81 DIRS += [
82     '/extensions/permissions',
85 if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
86     DIRS += [
87         '/media/webrtc',
88         '/dom/media/webrtc/transport',
89     ]
91 if CONFIG['ENABLE_TESTS']:
92     DIRS += ['/testing/specialpowers']
94 DIRS += [
95     '/testing/gtest',
96     '/uriloader',
97     '/caps',
98     '/parser',
99     '/gfx',
100     '/image',
101     '/dom',
102     '/view',
103     '/widget',
104     '/editor',
105     '/layout',
106     '/docshell',
107     '/xpfe/appshell'
110 if CONFIG['MOZ_UNIVERSALCHARDET']:
111     DIRS += ['/extensions/universalchardet']
113 if CONFIG['ACCESSIBILITY']:
114     DIRS += ['/accessible']
115 else:
116     DIRS += ['/accessible/ipc']
118 # toolkit
120 # This must precede xpfe.
121 if CONFIG['MOZ_JPROF']:
122     DIRS += ['/tools/jprof']
124 DIRS += [
125     '/tools/code-coverage',
126     '/tools/performance',
127     '/tools/power',
128     '/tools/profiler',
129     '/extensions/spellcheck',
130     '/security/certverifier',
131     '/security/manager',
132     '/toolkit',
135 if CONFIG['MOZ_PREF_EXTENSIONS']:
136     DIRS += ['/extensions/pref']
138 DIRS += [
139     '/devtools',
140     '/toolkit/library',
141     '/services',
142     '/startupcache',
143     '/other-licenses/snappy',
146 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
147     DIRS += [
148         '/toolkit/system/gnome',
149     ]
151 if CONFIG['ENABLE_WEBDRIVER']:
152     DIRS += [
153         '/remote',
154         '/testing/firefox-ui',
155         '/testing/marionette',
156         '/toolkit/components/telemetry/tests/marionette',
157     ]
159 if CONFIG['MOZ_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
160     DIRS += ['/testing/geckodriver']
162 DIRS += [
163     '/media/gmp-clearkey/0.1',
166 if CONFIG['ENABLE_TESTS']:
167     DIRS += [
168         '/testing/mochitest',
169         '/testing/xpcshell',
170         '/testing/tools/minidumpwriter',
171         '/testing/tools/screenshot',
172         '/testing/profiles',
173         '/testing/modules',
174         '/testing/runtimes',
175         '/testing/web-platform',
176         '/testing/extensions',
177     ]
179     if CONFIG['MOZ_MEMORY']:
180         DIRS += ['/memory/gtest']
182     if CONFIG['MOZ_WEBRTC']:
183         DIRS += [
184             '/dom/media/webrtc/transport/test',
185         ]
187 if CONFIG['FUZZING']:
188     DIRS += ['/tools/fuzzing']
190 if CONFIG['MOZ_WAYLAND']:
191     DIRS += ['/media/mozva']