mozilla-buildsymbols.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 01 Sep 2010 10:56:36 +0200
changeset 153 46ee28dc7145
parent 150 2add76c047fb
child 182 55b6eda14b1a
permissions -rw-r--r--
Update to 4.0b5
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
150
2add76c047fb Patch cleanup
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 149
diff changeset
     2
# User Wolfgang Rosenauer <wr@rosenauer.org>
147
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     3
# Parent 6637fa42939971816b5b0163e44cbdc0f7290066
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     4
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
     5
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     6
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
     7
--- a/Makefile.in
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     8
+++ b/Makefile.in
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     9
@@ -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
    10
 	  $(DIST)/crashreporter-symbols                                   \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    11
 	  $(MAKE_SYM_STORE_PATH) >                                        \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    12
 	  $(DIST)/crashreporter-symbols/$(SYMBOL_INDEX_NAME)
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    13
 	echo packing symbols
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
 	$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
 	cd $(DIST)/crashreporter-symbols && \
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    16
           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
    17
 	cd $(DIST)/crashreporter-symbols && \
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 "*.sym" \
149
89644d97e55f fix whitespaces
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 147
diff changeset
    20
+          zip -r9D "../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip" . -i "*.txt"
147
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    21
 else
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
 ifdef WINCE
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
 ifdef SYMBOLSTORE_PATH
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
 	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
    25
 	$(RM) -rf $(DIST)/symbols
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    26
 	$(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
    27
 	$(NSINSTALL) -D $(DIST)/symbols
519124a9ad2b Add symbols txt file to buildsymbol archive (bmo#588129)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    28
 	$(SYMBOLSTORE_PATH) add -r -f "$(subst /,\,$(shell pwd -W))\*.PDB" \