bug 382172 - allow env var for extra uniqueness in symbols.txt file. r=bsmedberg
authorted.mielczarek@gmail.com
Sun, 27 May 2007 18:57:56 -0700
changeset 1910 d63ada1f5399ed2f4c6bb13e6c849f32d43e54b1
parent 1909 41507c6abaea9b9d05dc9b41a0a83cdedb70c265
child 1911 c7ef61d628fdd99888430416739ae28829c376fa
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs382172
milestone1.9a5pre
bug 382172 - allow env var for extra uniqueness in symbols.txt file. r=bsmedberg
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -160,25 +160,29 @@ DUMP_SYMS_BIN := $(DIST)/host/bin/dump_s
 endif
 ifeq ($(OS_ARCH),Linux)
 MAKE_SYM_STORE_ARGS :=
 SYM_FIND_CMD := find -L $(DIST)/bin -type f -a -perm -100 -o -name "*.so" \
     | xargs file -L | grep "ELF" | cut -f1 -d':'
 DUMP_SYMS_BIN := $(DIST)/host/bin/dump_syms
 endif
 
+ifdef MOZ_SYMBOLS_EXTRA_BUILDID
+EXTRA_BUILDID := -$(MOZ_SYMBOLS_EXTRA_BUILDID)
+endif
+
 buildsymbols:
 ifdef MOZ_AIRBAG
 	echo building symbol store
 	mkdir -p $(DIST)/crashreporter-symbols/$(BUILDID)
 	$(SYM_FIND_CMD) | \
 	  xargs $(topsrcdir)/toolkit/airbag/tools/make_symbol_store.pl    \
 	  $(MAKE_SYM_STORE_ARGS) $(DUMP_SYMS_BIN)                         \
 	  $(DIST)/crashreporter-symbols/$(BUILDID) >                      \
-	  $(DIST)/crashreporter-symbols/$(BUILDID)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_ARCH)-$(BUILDID)-symbols.txt
+	  $(DIST)/crashreporter-symbols/$(BUILDID)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_ARCH)-$(BUILDID)$(EXTRA_BUILDID)-symbols.txt
 	echo packing symbols
 	mkdir -p $(topsrcdir)/../$(BUILDID)
 	cd $(DIST)/crashreporter-symbols/$(BUILDID) && \
           zip -r9D ../crashreporter-symbols-$(BUILDID).zip .
 	mv $(DIST)/crashreporter-symbols/crashreporter-symbols-$(BUILDID).zip \
           $(topsrcdir)/../$(BUILDID)
 endif # MOZ_AIRBAG