summaryrefslogtreecommitdiffstats
path: root/toolkit/moz.configure
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /toolkit/moz.configure
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/moz.configure')
-rw-r--r--toolkit/moz.configure28
1 files changed, 6 insertions, 22 deletions
diff --git a/toolkit/moz.configure b/toolkit/moz.configure
index 693492a4bd..3e89ca77de 100644
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -205,10 +205,8 @@ def audio_backends_default(target):
return ("oss",)
elif target.os == "OpenBSD":
return ("sndio",)
- elif target.os == "OSX":
+ elif target.kernel == "Darwin":
return ("audiounit",)
- elif target.os == "iOS":
- return None
elif target.os == "NetBSD":
return ("sunaudio",)
elif target.os == "SunOS":
@@ -259,11 +257,7 @@ def imply_alsa(values, target):
@depends("--enable-audio-backends", target)
def imply_audiounit(values, target):
- if (
- any("audiounit" in value for value in values)
- and target.os != "OSX"
- and target.kernel != "Darwin"
- ):
+ if any("audiounit" in value for value in values) and target.kernel != "Darwin":
die("Cannot enable AudioUnit on %s", target.os)
return any("audiounit" in value for value in values) or None
@@ -2783,20 +2777,6 @@ with only_when(compile_environment & wasm_sandboxing.hunspell):
set_config("MOZ_WASI_EMULATED_CLOCK", True, when=wasi_emulated_clock)
-# new Notification Store implementation
-# ==============================================================
-
-
-@depends(milestone)
-def new_notification_store(milestone):
- if milestone.is_nightly:
- return True
-
-
-set_config("MOZ_NEW_NOTIFICATION_STORE", True, when=new_notification_store)
-set_define("MOZ_NEW_NOTIFICATION_STORE", True, when=new_notification_store)
-
-
# Auxiliary files persistence on application close
# ==============================================================
@@ -3054,6 +3034,10 @@ def oxidized_breakpad(target):
set_config("MOZ_OXIDIZED_BREAKPAD", True, when=oxidized_breakpad)
set_define("MOZ_OXIDIZED_BREAKPAD", True, when=oxidized_breakpad)
+# Environment variable to mock the crashreporter for testing
+option(env="MOZ_CRASHREPORTER_MOCK", help="Mock the crashreporter to test native GUIs")
+set_config("MOZ_CRASHREPORTER_MOCK", True, when="MOZ_CRASHREPORTER_MOCK")
+
# Wine
# ==============================================================