зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1257434 - Move --enable-jprof to moz.configure. r=ted
This commit is contained in:
Родитель
9589ff306f
Коммит
58397bd671
|
@ -261,6 +261,7 @@ def wanted_mozconfig_variables(help):
|
|||
'MOZ_BUILD_APP',
|
||||
'MOZ_FMP4',
|
||||
'MOZ_INSTRUMENT_EVENT_LOOP',
|
||||
'MOZ_JPROF',
|
||||
'MOZ_USE_SYSTRACE',
|
||||
'MOZTTDIR',
|
||||
'PERL',
|
||||
|
|
|
@ -216,7 +216,6 @@ def old_configure_options(*options):
|
|||
'--enable-ipdl-tests',
|
||||
'--enable-jemalloc',
|
||||
'--enable-jitspew',
|
||||
'--enable-jprof',
|
||||
'--enable-libjpeg-turbo',
|
||||
'--enable-libproxy',
|
||||
'--enable-llvm-hacks',
|
||||
|
|
|
@ -2339,13 +2339,8 @@ AC_SUBST(ASMJS_MAY_USE_SIGNAL_HANDLERS_FOR_UNALIGNED)
|
|||
dnl ========================================================
|
||||
dnl jprof
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(jprof,
|
||||
[ --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof). Implies --enable-profiling.],
|
||||
MOZ_JPROF=1,
|
||||
MOZ_JPROF= )
|
||||
if test -n "$MOZ_JPROF"; then
|
||||
MOZ_PROFILING=1
|
||||
AC_DEFINE(MOZ_JPROF)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
|
@ -2787,7 +2782,6 @@ AC_SUBST(MOZ_DEBUG)
|
|||
AC_SUBST(MOZ_DEBUG_SYMBOLS)
|
||||
AC_SUBST(MOZ_DEBUG_LDFLAGS)
|
||||
AC_SUBST(WARNINGS_AS_ERRORS)
|
||||
AC_SUBST(MOZ_JPROF)
|
||||
AC_SUBST(MOZ_INSTRUMENTS)
|
||||
AC_SUBST(MOZ_CALLGRIND)
|
||||
AC_SUBST(MOZ_VTUNE)
|
||||
|
|
|
@ -1212,13 +1212,8 @@ AC_SUBST(MOZ_VALGRIND)
|
|||
dnl ========================================================
|
||||
dnl jprof
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(jprof,
|
||||
[ --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof). Implies --enable-profiling.],
|
||||
MOZ_JPROF=1,
|
||||
MOZ_JPROF= )
|
||||
if test -n "$MOZ_JPROF"; then
|
||||
MOZ_PROFILING=1
|
||||
AC_DEFINE(MOZ_JPROF)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
|
@ -7437,7 +7432,6 @@ AC_SUBST(MOZ_DEBUG_LDFLAGS)
|
|||
AC_SUBST(WARNINGS_AS_ERRORS)
|
||||
AC_SUBST_SET(MOZ_EXTENSIONS)
|
||||
AC_SUBST(MOZ_ENABLE_PROFILER_SPS)
|
||||
AC_SUBST(MOZ_JPROF)
|
||||
AC_SUBST(MOZ_INSTRUMENTS)
|
||||
AC_SUBST(MOZ_CALLGRIND)
|
||||
AC_SUBST(MOZ_VTUNE)
|
||||
|
|
|
@ -21,6 +21,17 @@ def systrace(value, target):
|
|||
set_define('MOZ_USE_SYSTRACE', '1')
|
||||
|
||||
|
||||
option('--enable-jprof', env='MOZ_JPROF',
|
||||
help='Enable jprof profiling tool (needs mozilla/tools/jprof)')
|
||||
|
||||
@depends('--enable-jprof')
|
||||
def jprof(value):
|
||||
if value:
|
||||
set_config('MOZ_JPROF', '1')
|
||||
set_define('MOZ_JPROF', '1')
|
||||
add_old_configure_assignment('MOZ_JPROF', '1')
|
||||
|
||||
|
||||
# Javascript engine
|
||||
# ==============================================================
|
||||
include('../js/moz.configure')
|
||||
|
|
Загрузка…
Ссылка в новой задаче