Bug 1319484 - Add MOZ_STYLO to build config; r=mshal
authorGregory Szorc <gps@mozilla.com>
Tue, 22 Nov 2016 10:23:19 -0800
changeset 443261 a2ae771ea128779adbe15970c98655181a6f657e
parent 442541 e92cf736e795070b2a2176210db609f21fc430d3
child 443262 648810245a1bfbc8383ed0418c15b69308f9b023
push id36944
push userbmo:boris.chiou@gmail.com
push dateThu, 24 Nov 2016 05:19:37 +0000
reviewersmshal
bugs1319484
milestone53.0a1
Bug 1319484 - Add MOZ_STYLO to build config; r=mshal Previously, we recorded it in defines. Let's add it in substs so more tools can key off it. MozReview-Commit-ID: HDrf46BCd6W
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -564,16 +564,17 @@ option('--enable-stylo', env='STYLO_ENAB
             'This requires either building servo within Gecko\'s cargo phase '
             'or passing --with-servo')
 
 @depends('--enable-stylo')
 def stylo(value):
     if value:
         return True
 
+set_config('MOZ_STYLO', stylo)
 set_define('MOZ_STYLO', stylo)
 
 # Avoid mozbuild.configure.options.ConflictingOptionError until bug 1300290 is
 # resolved.
 #imply_option('--enable-jemalloc', depends_if('--enable-stylo')(lambda _: 'moz'))
 
 option('--with-servo', env='SERVO_TARGET_DIR', nargs=1,
        help='Absolute path of the target directory where libgeckoservo can '