Bug 1330412 - Enable Stylo by default. r=bholley,froydnj
MozReview-Commit-ID: LqrUHJ4WNFG
--- 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