mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 13:45:46 +00:00
Bug 170618
r=cls a=asa Enable code size measurement build steps. Should not effect normal build.
This commit is contained in:
parent
24ad80f44d
commit
7f05826bbc
@ -220,10 +220,8 @@ tier_9_dirs += tools/trace-malloc
|
||||
endif
|
||||
|
||||
ifdef MOZ_MAPINFO
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
tier_9_dirs += tools/codesighs
|
||||
endif
|
||||
endif
|
||||
|
||||
tier_9_dirs += l10n
|
||||
|
||||
|
@ -400,9 +400,10 @@ MOC=@MOC@
|
||||
# Win32 options
|
||||
MOZ_PROFILE = @MOZ_PROFILE@
|
||||
MOZ_COVERAGE = @MOZ_COVERAGE@
|
||||
MOZ_MAPINFO = @MOZ_MAPINFO@
|
||||
MOZ_BROWSE_INFO = @MOZ_BROWSE_INFO@
|
||||
MOZ_TOOLS_DIR = @MOZ_TOOLS_DIR@
|
||||
|
||||
# Codesighs tools option, enables win32 mapfiles.
|
||||
MOZ_MAPINFO = @MOZ_MAPINFO@
|
||||
|
||||
MOZ_PHOENIX = @MOZ_PHOENIX@
|
||||
|
11
configure.in
11
configure.in
@ -3762,6 +3762,17 @@ MOZ_ARG_ENABLE_BOOL(perf-metrics,
|
||||
MOZ_PERF_METRICS=1
|
||||
AC_DEFINE(MOZ_PERF_METRICS))
|
||||
|
||||
dnl ========================================================
|
||||
dnl Enable code size metrics.
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(codesighs,
|
||||
[ --enable-codesighs Enable code size analysis tools],
|
||||
[ if test -d ./tools/codesighs; then
|
||||
MOZ_MAPINFO=1
|
||||
else
|
||||
AC_MSG_ERROR([Codesighs directory ./tools/codesighs required.])
|
||||
fi])
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable trace malloc
|
||||
dnl ========================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user