mozilla-buildsymbols.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 27 Aug 2010 08:29:01 +0200
changeset 147 519124a9ad2b
child 149 89644d97e55f
permissions -rw-r--r--
Add symbols txt file to buildsymbol archive (bmo#588129)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
147
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     1
# HG changeset patch
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     2
# Parent 6637fa42939971816b5b0163e44cbdc0f7290066
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     3
Bug 588129 - symbols.txt file missing from *.crashreporter-symbols.zip
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     4
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     5
diff --git a/Makefile.in b/Makefile.in
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     6
--- a/Makefile.in
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     7
+++ b/Makefile.in
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     8
@@ -186,17 +186,18 @@ ifdef MOZ_CRASHREPORTER
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     9
 	  $(DIST)/crashreporter-symbols                                   \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    10
 	  $(MAKE_SYM_STORE_PATH) >                                        \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    11
 	  $(DIST)/crashreporter-symbols/$(SYMBOL_INDEX_NAME)
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    12
 	echo packing symbols
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    13
 	$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
 	cd $(DIST)/crashreporter-symbols && \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
           zip -r9D "../$(PKG_PATH)$(SYMBOL_FULL_ARCHIVE_BASENAME).zip" .
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    16
 	cd $(DIST)/crashreporter-symbols && \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    17
-          zip -r9D "../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip" . -i "*.sym"
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    18
+          zip -r9D "../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip" . -i "*.sym" \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    19
+	  zip -r9D "../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip" . -i "*.txt"
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    20
 else
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    21
 ifdef WINCE
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
 ifdef SYMBOLSTORE_PATH
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
 	echo building symbol store with symstore.exe
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
 	$(RM) -rf $(DIST)/symbols
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    25
 	$(RM) -f "$(DIST)/$(SYMBOL_ARCHIVE_BASENAME).zip"
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    26
 	$(NSINSTALL) -D $(DIST)/symbols
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    27
 	$(SYMBOLSTORE_PATH) add -r -f "$(subst /,\,$(shell pwd -W))\*.PDB" \