Bug 1485946 - fix MOZ_LIBPRIO build switch for non-MSVC platforms r=kmag
authorRobert Helmer <rhelmer@mozilla.com>
Fri, 31 Aug 2018 04:57:39 +0000
changeset 489312 7a65516025af8c61f0629e208fd68240dde8f010
parent 489311 1bc6d1a2d201a3e8d3d726fc87d7fb5670bbce1c
child 489313 ee3ad446328d649e05b06c51122709340552bd6e
push id9738
push useraciure@mozilla.com
push dateMon, 03 Sep 2018 16:13:51 +0000
treeherdermozilla-beta@f5841408a66c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskmag
bugs1485946
milestone63.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 1485946 - fix MOZ_LIBPRIO build switch for non-MSVC platforms r=kmag Made an errant else in the last one, and didn't do the tuple properly. Differential Revision: https://phabricator.services.mozilla.com/D4734
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -1065,15 +1065,14 @@ def launcher(value, target):
 set_config('MOZ_LAUNCHER_PROCESS', launcher)
 set_define('MOZ_LAUNCHER_PROCESS', launcher)
 
 # Prio
 # ==============================================================
 @depends(c_compiler)
 def libprio(info):
     if info:
-      if info.type in ('msvc'):
+      if info.type in ('msvc',):
         return None
-    else:
-      return True
+    return True
 
 set_config('MOZ_LIBPRIO', libprio)