Include stopwatch class in build if MOZ_PERF is set. Only enabled on Windows right now.

git-svn-id: svn://10.0.0.236/trunk@47140 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nisheeth%netscape.com
1999-09-13 18:56:01 +00:00
parent f8041e3659
commit a6299cdca8
2 changed files with 9 additions and 1 deletions

View File

@@ -20,6 +20,9 @@
MODULE=util
DEPTH=..\..\..
EXPORTS=xp_obs.h
EXPORTS=xp_obs.h \
!if defined(MOZ_PERF)
stopwatch.h
!endif
!include $(DEPTH)\config\rules.mak

View File

@@ -18,10 +18,15 @@
MODULE=util
DEPTH=..\..\..
CSRCS=obs.c
!if defined(MOZ_PERF)
CPPSRCS=stopwatch.cpp
CPP_OBJS=.\$(OBJDIR)\stopwatch.obj
!endif
REQUIRES=nspr util
LIBRARY_NAME=util
C_OBJS=.\$(OBJDIR)\obs.obj
!include $(DEPTH)\config\rules.mak
install:: $(LIBRARY)