turn on reflow counting when building in debug mode, activated by a pref

Bug 71514 r=kmcclusk sr=attinasi
This commit is contained in:
rods%netscape.com 2001-03-14 01:05:07 +00:00
parent 4a3887d851
commit 3b054b6a2c
2 changed files with 6 additions and 2 deletions

View File

@ -279,8 +279,8 @@ CFLAGS=$(CFLAGS) -DMOZ_MATHML
CFLAGS=$(CFLAGS) -DMOZ_SVG
!endif
!ifdef MOZ_REFLOW_PERF
CFLAGS=$(CFLAGS) -DMOZ_REFLOW_PERF
!ifdef MOZ_DEBUG
CFLAGS=$(CFLAGS) -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP
!endif

View File

@ -422,6 +422,10 @@ endif
DEFINES += -DOSTYPE=\"$(OS_CONFIG)\"
ifdef MOZ_DEBUG
DEFINES += -DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP
endif
ifdef MOZ_SECURITY
DEFINES += -DMOZ_SECURITY
endif