summaryrefslogtreecommitdiffstats
path: root/toolkit/moz.configure
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /toolkit/moz.configure
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/moz.configure')
-rw-r--r--toolkit/moz.configure23
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",