diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /toolkit/moz.configure | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/moz.configure')
-rw-r--r-- | toolkit/moz.configure | 28 |
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 # ============================================================== |