Bug 659942 - Clean up profiling data during PROFILE_GENERATE phase. r=ted

This commit is contained in:
Mike Hommey 2011-06-13 11:58:34 -04:00
parent 744a49d18d
commit 8d3d4fa497
2 changed files with 22 additions and 0 deletions

View File

@ -903,6 +903,17 @@ endif
endif # SHARED_LIBRARY || PROGRAM
endif # WINNT_
endif # MOZ_PROFILE_GENERATE || MOZ_PROFILE_USE
ifdef MOZ_PROFILE_GENERATE
# Clean up profiling data during PROFILE_GENERATE phase
export::
ifeq ($(OS_ARCH)_$(GNU_CC), WINNT_)
-$(RM) *.pgd
else
ifdef GNU_CC
-$(RM) *.gcda
endif
endif
endif
endif # NO_PROFILE_GUIDED_OPTIMIZE
##############################################

View File

@ -903,6 +903,17 @@ endif
endif # SHARED_LIBRARY || PROGRAM
endif # WINNT_
endif # MOZ_PROFILE_GENERATE || MOZ_PROFILE_USE
ifdef MOZ_PROFILE_GENERATE
# Clean up profiling data during PROFILE_GENERATE phase
export::
ifeq ($(OS_ARCH)_$(GNU_CC), WINNT_)
-$(RM) *.pgd
else
ifdef GNU_CC
-$(RM) *.gcda
endif
endif
endif
endif # NO_PROFILE_GUIDED_OPTIMIZE
##############################################