зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9d0c575922
Коммит
683b6656d1
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче