Bug 1330412 - Enable Stylo by default. r=bholley,froydnj draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Thu, 24 Aug 2017 18:22:22 -0500
changeset 659127 3a428eed0855c046e95b3d112494fdb458305204
parent 659126 41a141a23b5fca85d418de493640c50a34f65e0e
child 659128 fb58911b650507c52176df37e6bcf62995ba445c
push id78026
push userbmo:jryans@gmail.com
push dateTue, 05 Sep 2017 15:07:24 +0000
reviewersbholley, froydnj
bugs1330412
milestone57.0a1
Bug 1330412 - Enable Stylo by default. r=bholley,froydnj MozReview-Commit-ID: LqrUHJ4WNFG
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -575,23 +575,25 @@ simple_keyfile('Pocket API')
 option('--enable-stylo', nargs='?', choices=('build',),
        help='Include Stylo in the build and/or enable it at runtime')
 
 @depends('--enable-stylo', '--help', target)
 def stylo_config(value, _, target):
     build_stylo = None
     enable_stylo = None
 
-    # If nothing is specified, default to building stylo where possible.
+    # If nothing is specified, default to building and enabling Stylo where it
+    # is known to work.
     if value.origin == 'default':
         if target.os == 'Android':
             # Stylo on Android is happening Later(tm).
             pass
         else:
             build_stylo = True
+            enable_stylo = True
     elif len(value) and value[0] == 'build':
         # Build but disable by request.
         build_stylo = True
     elif bool(value):
         # Build and enable.
         build_stylo = True
         enable_stylo = True