зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1293981 - Move --enable-gc-trace to moz.configure. r=chmanchester
This commit is contained in:
Родитель
0d27a92ceb
Коммит
a7c2d8106c
|
@ -181,7 +181,6 @@ def old_configure_options(*options):
|
||||||
'--enable-faststripe',
|
'--enable-faststripe',
|
||||||
'--enable-feeds',
|
'--enable-feeds',
|
||||||
'--enable-gamepad',
|
'--enable-gamepad',
|
||||||
'--enable-gc-trace',
|
|
||||||
'--enable-gconf',
|
'--enable-gconf',
|
||||||
'--enable-gczeal',
|
'--enable-gczeal',
|
||||||
'--enable-gio',
|
'--enable-gio',
|
||||||
|
|
|
@ -172,3 +172,14 @@ def vtune(value):
|
||||||
|
|
||||||
set_config('MOZ_VTUNE', vtune)
|
set_config('MOZ_VTUNE', vtune)
|
||||||
set_define('MOZ_VTUNE', vtune)
|
set_define('MOZ_VTUNE', vtune)
|
||||||
|
|
||||||
|
|
||||||
|
js_option('--enable-gc-trace', env='JS_GC_TRACE',
|
||||||
|
help='Enable tracing of allocation and finalization')
|
||||||
|
|
||||||
|
@depends('--enable-gc-trace')
|
||||||
|
def gc_trace(value):
|
||||||
|
if value:
|
||||||
|
return True
|
||||||
|
|
||||||
|
set_define('JS_GC_TRACE', gc_trace)
|
||||||
|
|
|
@ -1752,17 +1752,6 @@ if test -n "$JS_GC_SMALL_CHUNK_SIZE"; then
|
||||||
AC_DEFINE(JS_GC_SMALL_CHUNK_SIZE)
|
AC_DEFINE(JS_GC_SMALL_CHUNK_SIZE)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ========================================================
|
|
||||||
dnl = Use GC tracing
|
|
||||||
dnl ========================================================
|
|
||||||
MOZ_ARG_ENABLE_BOOL(gc-trace,
|
|
||||||
[ --enable-gc-trace Enable tracing of allocation and finalization],
|
|
||||||
JS_GC_TRACE=1,
|
|
||||||
JS_GC_TRACE= )
|
|
||||||
if test -n "$JS_GC_TRACE"; then
|
|
||||||
AC_DEFINE(JS_GC_TRACE)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl = Use Valgrind
|
dnl = Use Valgrind
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
|
|
Загрузка…
Ссылка в новой задаче