Bug 1754107: Release the memory allocated by calls to VTSessionCopyProperty. r=media...
[gecko.git] / toolkit / toolkit.mozbuild
blob1f3898c40f4add3a9b7904e871d3d14e6d56c424
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 DIRS += [
45     # Depends on NSS and NSPR
46     '/security/certverifier',
47     # Depends on certverifier
48     '/security/apps',
51 # the signing related bits of libmar depend on nss
52 if CONFIG['MOZ_UPDATER']:
53     DIRS += ['/modules/libmar']
55 DIRS += [
56     '/config/external/freetype2',
57     '/xpcom',
58     '/modules/libpref',
59     '/intl',
60     '/netwerk',
63 if CONFIG['MOZ_AUTH_EXTENSION']:
64     DIRS += ['/extensions/auth']
66 if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
67     DIRS += [
68         '/toolkit/mozapps/update/updater/bspatch',
69         '/other-licenses/bsdiff',
70     ]
72 # Gecko/Core components.
74 DIRS += [
75     '/ipc',
76     '/hal',
77     '/js/xpconnect',
78     '/modules/libjar',
79     '/storage',
82 if CONFIG['COMPILE_ENVIRONMENT']:
83     DIRS += [
84         '/media/libyuv',
85     ]
87 DIRS += [
88     '/extensions/permissions',
91 if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
92     DIRS += [
93         '/media/webrtc',
94         '/dom/media/webrtc/transport',
95     ]
97 if CONFIG['ENABLE_TESTS']:
98     DIRS += ['/testing/specialpowers']
100 DIRS += [
101     '/testing/gtest',
102     '/uriloader',
103     '/caps',
104     '/parser',
105     '/gfx',
106     '/image',
107     '/dom',
108     '/view',
109     '/widget',
110     '/editor',
111     '/layout',
112     '/docshell',
113     '/xpfe/appshell'
116 if CONFIG['MOZ_UNIVERSALCHARDET']:
117     DIRS += ['/extensions/universalchardet']
119 if CONFIG['ACCESSIBILITY']:
120     DIRS += ['/accessible']
121 else:
122     DIRS += ['/accessible/ipc']
124 # toolkit
126 # This must precede xpfe.
127 if CONFIG['MOZ_JPROF']:
128     DIRS += ['/tools/jprof']
130 DIRS += [
131     '/tools/code-coverage',
132     '/tools/performance',
133     '/tools/power',
134     '/tools/profiler',
135     '/extensions/spellcheck',
136     '/security/manager',
137     '/toolkit',
140 if CONFIG['MOZ_PREF_EXTENSIONS']:
141     DIRS += ['/extensions/pref']
143 DIRS += [
144     '/devtools',
145     '/toolkit/library',
146     '/services',
147     '/startupcache',
148     '/js/ductwork/debugger',
149     '/other-licenses/snappy',
152 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
153     DIRS += [
154         '/toolkit/system/gnome',
155     ]
157 if CONFIG['ENABLE_WEBDRIVER']:
158     DIRS += [
159         '/remote',
160         '/testing/firefox-ui',
161         '/testing/marionette',
162         '/toolkit/components/telemetry/tests/marionette',
163     ]
165 if CONFIG['MOZ_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
166     DIRS += ['/testing/geckodriver']
168 DIRS += [
169     '/tools/quitter',
170     '/media/gmp-clearkey/0.1',
173 if CONFIG['ENABLE_TESTS']:
174     DIRS += [
175         '/testing/mochitest',
176         '/testing/xpcshell',
177         '/testing/tools/minidumpwriter',
178         '/testing/tools/screenshot',
179         '/testing/profiles',
180         '/testing/modules',
181         '/testing/runtimes',
182         '/testing/web-platform',
183         '/testing/extensions',
184     ]
186     if CONFIG['MOZ_MEMORY']:
187         DIRS += ['/memory/gtest']
189     if CONFIG['MOZ_WEBRTC']:
190         DIRS += [
191             '/dom/media/webrtc/transport/test',
192         ]
194 if CONFIG['FUZZING']:
195     DIRS += ['/tools/fuzzing']
197 if CONFIG['MOZ_WAYLAND']:
198     DIRS += ['/media/mozva']