mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-06 03:47:20 +00:00
58 lines
1.8 KiB
C++
58 lines
1.8 KiB
C++
diff --git a/toolkit/moz.configure b/toolkit/moz.configure
|
|
index 09b3065c214ecceacb6f264cdacbb777252f33ea..97ee12093d6330ae9da4aa1bea2ecd5b76843110 100644
|
|
--- a/toolkit/moz.configure
|
|
+++ b/toolkit/moz.configure
|
|
@@ -22,6 +22,7 @@ def check_moz_app_id(moz_app_id, build_project):
|
|
|
|
project_flag(
|
|
env="MOZ_APP_VENDOR",
|
|
+ default="Zen Team",
|
|
nargs=1,
|
|
help='Used for application.ini\'s "Vendor" field, which also impacts profile location and user-visible fields',
|
|
)
|
|
@@ -35,6 +36,7 @@ project_flag(
|
|
|
|
project_flag(
|
|
"MOZ_APP_PROFILE",
|
|
+ default="zen",
|
|
nargs=1,
|
|
help='Used for application.ini\'s "Profile" field, which controls profile location',
|
|
)
|
|
@@ -87,10 +89,13 @@ option(
|
|
)
|
|
set_config("MOZ_INCLUDE_SOURCE_INFO", True, when="MOZ_INCLUDE_SOURCE_INFO")
|
|
|
|
+option(env="ZEN_FIREFOX_VERSION", help="Set Zen version of Firefox", nargs=1)
|
|
+set_config("ZEN_FIREFOX_VERSION", depends_if("ZEN_FIREFOX_VERSION")(lambda v: v[0]))
|
|
+
|
|
option(
|
|
"--with-distribution-id",
|
|
nargs=1,
|
|
- default="org.mozilla",
|
|
+ default="app.zen-browser",
|
|
help="Set distribution-specific id",
|
|
)
|
|
set_config("MOZ_DISTRIBUTION_ID", depends("--with-distribution-id")(lambda v: v[0]))
|
|
@@ -881,9 +886,9 @@ set_config("MOZ_SYSTEM_AV1", True, when="--with-system-av1")
|
|
option("--disable-jxl", help="Disable jxl image support")
|
|
|
|
|
|
-@depends("--disable-jxl", milestone.is_nightly)
|
|
-def jxl(value, is_nightly):
|
|
- if is_nightly and value:
|
|
+@depends("--disable-jxl")
|
|
+def jxl(value):
|
|
+ if value:
|
|
return True
|
|
|
|
|
|
@@ -2019,7 +2024,7 @@ set_define("A11Y_LOG", True, when=a11y_log)
|
|
# ==============================================================
|
|
@depends(milestone)
|
|
def require_signing(milestone):
|
|
- return milestone.is_release_or_beta and not milestone.is_esr
|
|
+ return False
|
|
|
|
|
|
option(
|