bug 383083 - post-process symbol files to add source file revision numbers - re-enable --vcs-info on win32/msys. r=mento
authorted.mielczarek@gmail.com
Tue, 21 Aug 2007 14:52:54 -0700
changeset 4877 e6c36c34c67a42ba12a49727b56853dd97f1a1e9
parent 4876 939a94729316426c57de344a0840eab3a05f69ca
child 4878 5f156533bbb3736d16a0eecaddc792f09c9748f7
push idunknown
push userunknown
push dateunknown
reviewersmento
bugs383083
milestone1.9a8pre
bug 383083 - post-process symbol files to add source file revision numbers - re-enable --vcs-info on win32/msys. r=mento
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -129,16 +129,20 @@ ifdef MOZ_PROFILE
 	/bin/find $(DIST) -name "*.dbg" -exec mv {} $(DIST)/$(BUILDID) \;
 endif # MOZ_PROFILE
 endif # MOZILLA_OFFICIAL
 endif # WINNT
 
 ifeq ($(OS_ARCH),WINNT)
 # we want to copy PDB files on Windows
 MAKE_SYM_STORE_ARGS := -c
+ifeq (,$(CYGWIN_WRAPPER))
+# this doesn't work with Cygwin Python
+MAKE_SYM_STORE_ARGS += --vcs-info
+endif
 DUMP_SYMS_BIN ?= $(topsrcdir)/toolkit/crashreporter/tools/win32/dump_syms.exe
 # PDB files don't get moved to dist, so we need to scan the whole objdir
 MAKE_SYM_STORE_PATH := .
 endif
 ifeq ($(OS_ARCH),Darwin)
 # need to pass arch flags for universal builds
 ifdef UNIVERSAL_BINARY
 MAKE_SYM_STORE_ARGS := -a "ppc i386" --vcs-info