Bug 1488554: Part 3 - Set default value of --enable-launcher-process to true on Windows Nightly builds; r=froydnj!
☠☠ backed out by 9dc064f701b6 ☠ ☠
authorAaron Klotz <aklotz@mozilla.com>
Wed, 29 Aug 2018 13:57:31 -0600
changeset 434749 a21462dc142ad715926864ac5ccccadcdc2595f7
parent 434748 6a34f57792812095e45386c276940b652f947d7a
child 434750 417f206531b6659dcedb5be8a43f8f8b7813673f
push id34577
push userebalazs@mozilla.com
push dateWed, 05 Sep 2018 09:45:59 +0000
treeherdermozilla-central@019d95c8106d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1488554
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1488554: Part 3 - Set default value of --enable-launcher-process to true on Windows Nightly builds; r=froydnj! Differential Revision: https://phabricator.services.mozilla.com/D4972
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -1050,17 +1050,22 @@ def unsigned_addon_scopes(scopes):
     )
 
 set_config('MOZ_UNSIGNED_APP_SCOPE', unsigned_addon_scopes.app)
 set_config('MOZ_UNSIGNED_SYSTEM_SCOPE', unsigned_addon_scopes.system)
 
 # Launcher process (Windows only)
 # ==============================================================
 
-option('--enable-launcher-process', help='Enable launcher process by default')
+@depends(target, milestone)
+def launcher_process_default(target, milestone):
+    return target.os == 'WINNT' and milestone.is_nightly
+
+option('--enable-launcher-process', default=launcher_process_default,
+       help='Enable launcher process by default')
 
 @depends('--enable-launcher-process', target)
 def launcher(value, target):
     enabled = bool(value)
     if enabled and target.os != 'WINNT':
         die('Cannot enable launcher process on %s', target.os)
     if enabled:
         return True