зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1293981 - Move --enable-more-deterministic to moz.configure. r=chmanchester
This commit is contained in:
Родитель
dc662f1b94
Коммит
78f1853c94
|
@ -202,7 +202,6 @@ def old_configure_options(*options):
|
|||
'--enable-media-navigator',
|
||||
'--enable-memory-sanitizer',
|
||||
'--enable-mobile-optimize',
|
||||
'--enable-more-deterministic',
|
||||
'--enable-mozril-geoloc',
|
||||
'--enable-necko-protocols',
|
||||
'--enable-necko-wifi',
|
||||
|
|
|
@ -194,3 +194,14 @@ def ion_perf(value):
|
|||
return True
|
||||
|
||||
set_define('JS_ION_PERF', ion_perf)
|
||||
|
||||
|
||||
js_option('--enable-more-deterministic', env='JS_MORE_DETERMINISTIC',
|
||||
help='Enable changes that make the shell more deterministic')
|
||||
|
||||
@depends('--enable-more-deterministic')
|
||||
def more_deterministic(value):
|
||||
if value:
|
||||
return True
|
||||
|
||||
set_define('JS_MORE_DETERMINISTIC', more_deterministic)
|
||||
|
|
|
@ -1919,18 +1919,6 @@ if test -n "$JS_GC_ZEAL" -o -n "$MOZ_DEBUG"; then
|
|||
AC_DEFINE(JS_GC_ZEAL)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl Enable changes that make the shell more deterministic
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(more-deterministic,
|
||||
[ --enable-more-deterministic
|
||||
Enable changes that make the shell more deterministic],
|
||||
JS_MORE_DETERMINISTIC=1,
|
||||
JS_MORE_DETERMINISTIC= )
|
||||
if test -n "$JS_MORE_DETERMINISTIC"; then
|
||||
AC_DEFINE(JS_MORE_DETERMINISTIC)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl Enable breakpoint for artificial OOMs
|
||||
dnl ========================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче