зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1434659 - move --enable-oom-breakpoint to moz.configure; r=nalexander
This commit is contained in:
Родитель
d8968f156b
Коммит
87e87fc09b
|
@ -202,7 +202,6 @@ def old_configure_options(*options):
|
|||
'--enable-nfc',
|
||||
'--enable-nspr-build',
|
||||
'--enable-official-branding',
|
||||
'--enable-oom-breakpoint',
|
||||
'--enable-parental-controls',
|
||||
'--enable-pie',
|
||||
'--enable-posix-nspr-emulation',
|
||||
|
|
|
@ -320,6 +320,15 @@ set_define('JS_TRACE_LOGGING',
|
|||
depends_if('--enable-trace-logging')(lambda x: True))
|
||||
|
||||
|
||||
# Enable breakpoint for artificial OOMs
|
||||
# =======================================================
|
||||
js_option('--enable-oom-breakpoint',
|
||||
help='Enable a breakpoint function for artificial OOMs')
|
||||
|
||||
set_define('JS_OOM_BREAKPOINT',
|
||||
depends_if('--enable-oom-breakpoint')(lambda _: True))
|
||||
|
||||
|
||||
js_option('--enable-perf', env='JS_ION_PERF',
|
||||
help='Enable Linux perf integration')
|
||||
|
||||
|
|
|
@ -1495,18 +1495,6 @@ if test -n "$MOZ_DEBUG"; then
|
|||
AC_DEFINE(JS_DEBUG)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl Enable breakpoint for artificial OOMs
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(oom-breakpoint,
|
||||
[ --enable-oom-breakpoint
|
||||
Enable a breakpoint function for artificial OOMs],
|
||||
JS_OOM_BREAKPOINT=1,
|
||||
JS_OOM_BREAKPOINT= )
|
||||
if test -n "$JS_OOM_BREAKPOINT"; then
|
||||
AC_DEFINE(JS_OOM_BREAKPOINT)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable using the clang plugin to build
|
||||
dnl ========================================================
|
||||
|
|
Загрузка…
Ссылка в новой задаче