|
@@ -0,0 +1,42 @@
|
|
|
+
|
|
|
+# HG changeset patch
|
|
|
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
|
|
|
+# Date 1606757610 18000
|
|
|
+# Mon Nov 30 12:33:30 2020 -0500
|
|
|
+
|
|
|
+Bug 9999999 - ignore mainentenace-service option for non-windows.
|
|
|
+diff --git a/toolkit/moz.configure b/toolkit/moz.configure
|
|
|
+--- a/toolkit/moz.configure
|
|
|
++++ b/toolkit/moz.configure
|
|
|
+@@ -1370,22 +1370,25 @@ set_config('MOZ_UNSIGNED_SYSTEM_SCOPE',
|
|
|
+
|
|
|
+ # Maintenance service (Windows only)
|
|
|
+ # ==============================================================
|
|
|
+
|
|
|
+ option('--enable-maintenance-service',
|
|
|
+ when=target_is_windows, default=target_is_windows,
|
|
|
+ help='{Enable|Disable} building of maintenance service')
|
|
|
+
|
|
|
+-set_define('MOZ_MAINTENANCE_SERVICE',
|
|
|
+- depends_if('--enable-maintenance-service',
|
|
|
+- when=target_is_windows)(lambda _: True))
|
|
|
+-set_config('MOZ_MAINTENANCE_SERVICE',
|
|
|
+- depends_if('--enable-maintenance-service',
|
|
|
+- when=target_is_windows)(lambda _: True))
|
|
|
++@depends("--enable-maintenance-service", when=target_is_windows)
|
|
|
++def maintenance_service_flag(enabled):
|
|
|
++ if enabled:
|
|
|
++ return True
|
|
|
++
|
|
|
++
|
|
|
++set_define("MOZ_MAINTENANCE_SERVICE", maintenance_service_flag)
|
|
|
++set_config("MOZ_MAINTENANCE_SERVICE", maintenance_service_flag)
|
|
|
++
|
|
|
+
|
|
|
+ # Bundled fonts on desktop platform
|
|
|
+ # ==============================================================
|
|
|
+
|
|
|
+ @depends(target)
|
|
|
+ def bundled_fonts_default(target):
|
|
|
+ return target.os == 'WINNT' or target.kernel == 'Linux'
|
|
|
+
|