mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1293981 - Move --enable-perf to moz.configure. r=chmanchester
This commit is contained in:
parent
a7c2d8106c
commit
dc662f1b94
@ -214,7 +214,6 @@ def old_configure_options(*options):
|
||||
'--enable-oom-breakpoint',
|
||||
'--enable-optimize',
|
||||
'--enable-parental-controls',
|
||||
'--enable-perf',
|
||||
'--enable-permissions',
|
||||
'--enable-pie',
|
||||
'--enable-png-arm-neon-support',
|
||||
|
@ -183,3 +183,14 @@ def gc_trace(value):
|
||||
return True
|
||||
|
||||
set_define('JS_GC_TRACE', gc_trace)
|
||||
|
||||
|
||||
js_option('--enable-perf', env='JS_ION_PERF',
|
||||
help='Enable Linux perf integration')
|
||||
|
||||
@depends('--enable-perf')
|
||||
def ion_perf(value):
|
||||
if value:
|
||||
return True
|
||||
|
||||
set_define('JS_ION_PERF', ion_perf)
|
||||
|
@ -1919,18 +1919,6 @@ if test -n "$JS_GC_ZEAL" -o -n "$MOZ_DEBUG"; then
|
||||
AC_DEFINE(JS_GC_ZEAL)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable perf logging for ion.
|
||||
dnl = Perf logging is OFF by default
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(perf,
|
||||
[ --enable-perf Enable Linux perf integration],
|
||||
JS_ION_PERF=1,
|
||||
JS_ION_PERF= )
|
||||
if test -n "$JS_ION_PERF"; then
|
||||
AC_DEFINE(JS_ION_PERF)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl Enable changes that make the shell more deterministic
|
||||
dnl ========================================================
|
||||
|
Loading…
Reference in New Issue
Block a user