Bug 1893315: Restrict selectable profiles backend to local builds. r=mossop,glandium

Differential Revision: https://phabricator.services.mozilla.com/D208943
This commit is contained in:
Jared Hirsch 2024-05-03 17:04:42 +00:00
Родитель 9d0c575922
Коммит 683b6656d1
2 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -474,6 +474,13 @@ export var AppConstants = Object.freeze({
false,
#endif
MOZ_SELECTABLE_PROFILES:
#ifdef MOZ_SELECTABLE_PROFILES
true,
#else
false,
#endif
// Returns true for CN region build when distibution id set as 'MozillaOnline'
isChinaRepack() {
return (

Просмотреть файл

@ -975,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",