Bug 1377007 - Enable/disable building of binjs;r=Yoric
authorDavid Teller <dteller@mozilla.com>
Fri, 15 Dec 2017 09:54:55 -0600
changeset 450887 08d9f4f1fd6e94ddf25cfafbb0ea14cf865854a1
parent 450886 ac32aa0058fe4f68d1eefeb5254e6c8883e25007
child 450888 f1eeaf08ba77457d639f82f4be1230c88da1d19d
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1377007
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1377007 - Enable/disable building of binjs;r=Yoric MozReview-Commit-ID: 6iFgTPWV56T
js/moz.configure
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -414,8 +414,23 @@ js_option('--enable-pipeline-operator', 
 
 @depends('--enable-pipeline-operator')
 def enable_pipeline_operator(value):
     if value:
         return True
 
 set_config('ENABLE_PIPELINE_OPERATOR', enable_pipeline_operator)
 set_define('ENABLE_PIPELINE_OPERATOR', enable_pipeline_operator)
+
+
+
+# Experimental support for BinAST
+# ==============================================================
+
+@depends(target, milestone)
+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)