summaryrefslogtreecommitdiffstats
path: root/toolkit/toolkit.mozbuild
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /toolkit/toolkit.mozbuild
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/toolkit.mozbuild')
-rw-r--r--toolkit/toolkit.mozbuild192
1 files changed, 192 insertions, 0 deletions
diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild
new file mode 100644
index 0000000000..04453a4378
--- /dev/null
+++ b/toolkit/toolkit.mozbuild
@@ -0,0 +1,192 @@
+# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+include('/js/app.mozbuild')
+
+PYTHON_UNITTEST_MANIFESTS += [
+ '/layout/tools/reftest/selftest/python.ini',
+ '/testing/condprofile/condprof/tests/python.ini',
+ '/testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
+ '/testing/mochitest/tests/python/python.ini',
+ '/testing/raptor/test/python.ini',
+ '/testing/talos/talos/unittests/python.ini'
+]
+
+DIRS += [
+ '/tools',
+ '/xpcom/xpidl',
+]
+
+if CONFIG['COMPILE_ENVIRONMENT']:
+ DIRS += [
+ '/config/external',
+ '/security',
+ ]
+
+if CONFIG['ENABLE_TESTS']:
+ DIRS += [
+ '/toolkit/library/gtest/rust',
+ ]
+
+DIRS += [
+ '/toolkit/library/rust',
+]
+
+if CONFIG['MOZ_SANDBOX']:
+ DIRS += ['/security/sandbox']
+
+if CONFIG["MOZ_USING_WASM_SANDBOXING"] and CONFIG["COMPILE_ENVIRONMENT"]:
+ DIRS += ["/security/rlbox"]
+
+# the signing related bits of libmar depend on nss
+if CONFIG['MOZ_UPDATER']:
+ DIRS += ['/modules/libmar']
+
+DIRS += [
+ '/config/external/freetype2',
+ '/xpcom',
+ '/modules/libpref',
+ '/intl',
+ '/netwerk',
+]
+
+if CONFIG['MOZ_AUTH_EXTENSION']:
+ DIRS += ['/extensions/auth']
+
+if CONFIG['MOZ_UPDATER'] and CONFIG['OS_TARGET'] != 'Android':
+ DIRS += [
+ '/toolkit/mozapps/update/updater/bspatch',
+ '/other-licenses/bsdiff',
+ ]
+
+# Gecko/Core components.
+
+DIRS += [
+ '/ipc',
+ '/hal',
+ '/js/loader',
+ '/js/xpconnect',
+ '/modules/libjar',
+ '/storage',
+]
+
+if CONFIG['COMPILE_ENVIRONMENT']:
+ DIRS += [
+ '/media/libyuv',
+ ]
+
+DIRS += [
+ '/extensions/permissions',
+]
+
+if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
+ DIRS += [
+ '/media/webrtc',
+ '/dom/media/webrtc/transport',
+ ]
+
+if CONFIG['ENABLE_TESTS']:
+ DIRS += ['/testing/specialpowers']
+
+DIRS += [
+ '/testing/gtest',
+ '/uriloader',
+ '/caps',
+ '/parser',
+ '/gfx',
+ '/image',
+ '/dom',
+ '/view',
+ '/widget',
+ '/editor',
+ '/layout',
+ '/docshell',
+ '/xpfe/appshell'
+]
+
+if CONFIG['MOZ_UNIVERSALCHARDET']:
+ DIRS += ['/extensions/universalchardet']
+
+if CONFIG['ACCESSIBILITY']:
+ DIRS += ['/accessible']
+else:
+ DIRS += ['/accessible/ipc']
+
+# toolkit
+
+# This must precede xpfe.
+if CONFIG['MOZ_JPROF']:
+ DIRS += ['/tools/jprof']
+
+DIRS += [
+ '/tools/code-coverage',
+ '/tools/performance',
+ '/tools/power',
+ '/tools/profiler',
+ '/extensions/spellcheck',
+ '/security/certverifier',
+ '/security/manager',
+ '/toolkit',
+]
+
+if CONFIG['MOZ_PREF_EXTENSIONS']:
+ DIRS += ['/extensions/pref']
+
+DIRS += [
+ '/devtools',
+ '/toolkit/library',
+ '/services',
+ '/startupcache',
+ '/other-licenses/snappy',
+]
+
+if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
+ DIRS += [
+ '/toolkit/system/gnome',
+ ]
+
+if CONFIG['ENABLE_WEBDRIVER']:
+ DIRS += [
+ '/remote',
+ '/testing/firefox-ui',
+ '/testing/marionette',
+ '/toolkit/components/telemetry/tests/marionette',
+ ]
+
+if CONFIG['MOZ_GECKODRIVER'] and not CONFIG['MOZ_TSAN'] and not CONFIG['FUZZING_INTERFACES']:
+ DIRS += ['/testing/geckodriver']
+
+DIRS += [
+ '/media/gmp-clearkey/0.1',
+]
+
+if CONFIG['ENABLE_TESTS']:
+ DIRS += [
+ '/testing/mochitest',
+ '/testing/xpcshell',
+ '/testing/tools/minidumpwriter',
+ '/testing/tools/screenshot',
+ '/testing/profiles',
+ '/testing/modules',
+ '/testing/runtimes',
+ '/testing/web-platform',
+ '/testing/extensions',
+ ]
+
+ if CONFIG['MOZ_MEMORY']:
+ DIRS += ['/memory/gtest']
+
+ if CONFIG['MOZ_WEBRTC']:
+ DIRS += [
+ '/dom/media/webrtc/transport/test',
+ ]
+
+if CONFIG['FUZZING']:
+ DIRS += ['/tools/fuzzing']
+
+if CONFIG['MOZ_WAYLAND']:
+ DIRS += ['/media/mozva']
+