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

--HG--
extra : rebase_source : be8cae71dfbe994fa6dadbdb0007e430413c743b
extra : source : 9e707fcf47691a4684d7b6953dd8a08ae6687893
This commit is contained in:
Gregory Szorc 2016-11-22 10:23:19 -08:00
parent f556978353
commit 1d26bd0c8a

View File

@ -569,6 +569,7 @@ def stylo(value):
if value:
return True
set_config('MOZ_STYLO', stylo)
set_define('MOZ_STYLO', stylo)
imply_option('--enable-jemalloc', depends_if('--enable-stylo')(lambda _: 'moz'))