Bug 1432429 Create a --enable-fuzzyfox switch 1/14 draft
authorAndrea Marchesini <amarchesini@mozilla.com>
Fri, 15 Jun 2018 19:05:47 -0700
changeset 815060 0f0cb72638124c3e7f002bacb8dc44fa23046a4d
parent 807714 0b5495dc100dd3bfda0886a4ad563a3c729c9b72
child 815061 02e864fcc43d2217bb1c44f68755d45ce316afd4
child 816989 65f1ee9da49211e6221ad0d4b12b548c9d7e1293
push id115424
push userbmo:tom@mozilla.com
push dateFri, 06 Jul 2018 17:03:34 +0000
bugs1432429
milestone62.0a1
Bug 1432429 Create a --enable-fuzzyfox switch 1/14 MozReview-Commit-ID: BLjoiowpDf2
js/moz.configure
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -470,8 +470,16 @@ set_define('ENABLE_PIPELINE_OPERATOR', e
 def enable_build_binast(target, milestone):
     # For reasons unknown at this time, BinAST causes timeouts on win32
     # and failures on Android.
     if milestone.is_nightly and not (target.kernel == 'WINNT' and target.cpu == 'x86') and not (target.os == 'Android'):
         return True
 
 set_define('JS_BUILD_BINAST', enable_build_binast)
 set_config('JS_BUILD_BINAST', enable_build_binast)
+
+# FuzzyFox
+# ==============================================================
+js_option('--enable-fuzzyfox', help='Enable FuzzyFox')
+set_config('MOZ_FUZZYFOX',
+           depends_if('--enable-fuzzyfox')(lambda x: True))
+set_define('MOZ_FUZZYFOX',
+           depends_if('--enable-fuzzyfox')(lambda x: True))