Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch.

This commit is contained in:
wolfbeast 2019-12-19 01:36:07 +01:00 • committed by Roy Tam
commit 48adbfd454
3 changed files with 0 additions and 22 deletions

View file

@ -37,19 +37,6 @@ def js_disable_shell(value):
set_config('JS_DISABLE_SHELL', js_disable_shell)
# Use SpiderMonkey Promise implementation if it's enabled
# =======================================================
js_option('--enable-sm-promise', default=True,
help='Enable SpiderMonkey promises')
@depends('--enable-sm-promise')
def sm_promise(value):
if value:
return True
set_config('SPIDERMONKEY_PROMISE', sm_promise)
set_define('SPIDERMONKEY_PROMISE', sm_promise)
# SpiderMonkey as a shared library, and how its symbols are exported
# ==================================================================
js_option('--disable-shared-js', default=building_js,