diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /toolkit/moz.configure | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/moz.configure')
-rw-r--r-- | toolkit/moz.configure | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 3e89ca77de..6ad16dc1b7 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -114,6 +114,16 @@ set_config("MOZ_GECKO_PROFILER", gecko_profiler_define) set_define("MOZ_GECKO_PROFILER", gecko_profiler_define) +# Enable perfetto on Android if gecko profiling is enabled and only for +# nightly builds. Linux support requires at least linux-headers-3.18 for <linux/vm_sockets.h> +set_config( + "MOZ_PERFETTO", gecko_profiler_define, when=target_is_android & milestone.is_nightly +) +set_define( + "MOZ_PERFETTO", gecko_profiler_define, when=target_is_android & milestone.is_nightly +) + + # Whether code to parse ELF binaries should be compiled for the Gecko profiler # (for symbol table dumping). @depends(gecko_profiler, target) @@ -965,6 +975,19 @@ project_flag( set_as_define=True, ) +# Profile Management +# ============================================================== +# Selectable profiles are temporarily gated behind a build flag +# while we build and stabilize the backend (bug 1893315). + +option( + env="MOZ_SELECTABLE_PROFILES", + help="Enable experimental and unstable profile groups", +) + + +set_define("MOZ_SELECTABLE_PROFILES", True, when="MOZ_SELECTABLE_PROFILES") + project_flag( "MOZ_DEDICATED_PROFILES", help="Enable dedicated profiles per install", |