Bug 1735097 - Geolocation: use EpochTimeStamp instead of DOMTimeStamp r=saschanaz...
[gecko.git] / toolkit / toolkit.mozbuild
blobfd9903bac5b07c655ee77c94f8f795b6773676ad
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 if CONFIG["MOZ_USING_WASM_SANDBOXING"] and CONFIG["COMPILE_ENVIRONMENT"]:
46     DIRS += ["/security/rlbox"]
48 DIRS += [
49     # Depends on NSS and NSPR
50     '/security/certverifier',
51     # Depends on certverifier
52     '/security/apps',
55 # the signing related bits of libmar depend on nss
56 if CONFIG['MOZ_UPDATER']:
57     DIRS += ['/modules/libmar']
59 DIRS += [
60     '/config/external/freetype2',
61     '/xpcom',
62     '/modules/libpref',
63     '/intl',
64     '/netwerk',
67 if CONFIG['MOZ_AUTH_EXTENSION']:
68     DIRS += ['/extensions/auth']
70 if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
71     DIRS += [
72         '/toolkit/mozapps/update/updater/bspatch',
73         '/other-licenses/bsdiff',
74     ]
76 # Gecko/Core components.
78 DIRS += [
79     '/ipc',
80     '/hal',
81     '/js/xpconnect',
82     '/modules/libjar',
83     '/storage',
86 if CONFIG['COMPILE_ENVIRONMENT']:
87     DIRS += [
88         '/media/libyuv',
89     ]
91 DIRS += [
92     '/extensions/permissions',
95 if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
96     DIRS += [
97         '/media/webrtc',
98         '/dom/media/webrtc/transport',
99     ]
101 if CONFIG['ENABLE_TESTS']:
102     DIRS += ['/testing/specialpowers']
104 DIRS += [
105     '/testing/gtest',
106     '/uriloader',
107     '/caps',
108     '/parser',
109     '/gfx',
110     '/image',
111     '/dom',
112     '/view',
113     '/widget',
114     '/editor',
115     '/layout',
116     '/docshell',
117     '/xpfe/appshell'
120 if CONFIG['MOZ_UNIVERSALCHARDET']:
121     DIRS += ['/extensions/universalchardet']
123 if CONFIG['ACCESSIBILITY']:
124     DIRS += ['/accessible']
125 else:
126     DIRS += ['/accessible/ipc']
128 # toolkit
130 # This must precede xpfe.
131 if CONFIG['MOZ_JPROF']:
132     DIRS += ['/tools/jprof']
134 DIRS += [
135     '/tools/code-coverage',
136     '/tools/performance',
137     '/tools/power',
138     '/tools/profiler',
141 if CONFIG['MOZ_SPELLCHECK']:
142     DIRS += ['/extensions/spellcheck']
144 DIRS += [
145     '/security/manager',
146     '/toolkit',
149 if CONFIG['MOZ_PREF_EXTENSIONS']:
150     DIRS += ['/extensions/pref']
152 DIRS += [
153     '/devtools',
154     '/toolkit/library',
155     '/services',
156     '/startupcache',
157     '/js/ductwork/debugger',
158     '/other-licenses/snappy',
161 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
162     DIRS += [
163         '/toolkit/system/gnome',
164     ]
166 if CONFIG['ENABLE_WEBDRIVER']:
167     DIRS += [
168         '/remote',
169         '/testing/firefox-ui',
170         '/testing/marionette',
171         '/toolkit/components/telemetry/tests/marionette',
172     ]
174 if CONFIG['MOZ_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     if CONFIG['MOZ_MEMORY']:
196         DIRS += ['/memory/gtest']
198     if CONFIG['MOZ_WEBRTC']:
199         DIRS += [
200             '/dom/media/webrtc/transport/test',
201         ]
203 if CONFIG['FUZZING']:
204     DIRS += ['/tools/fuzzing']