Breakpad/Updating to latest Breakpad from SVN: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
* Check out the Breakpad code from SVN: http://code.google.com/p/google-breakpad/source/checkout
* Check out the Breakpad code from SVN: http://code.google.com/p/google-breakpad/source/checkout
* In a clean clone of mozilla-central, do the following:
* In a clean clone of mozilla-central, do the following:
** rm -rf toolkit/crashreporter/google-breakpad
  rm -rf toolkit/crashreporter/google-breakpad
** svn export ../google-breakpad ./toolkit/crashreporter/google-breakpad # assuming you checked out the Breakpad source to ../google-breakpad
  svn export ../google-breakpad ./toolkit/crashreporter/google-breakpad # assuming you checked out the Breakpad source to ../google-breakpad
** rm -rf toolkit/crashreporter/google-breakpad/src/third_party/protobuf toolkit/crashreporter/google-breakpad/src/testing/ toolkit/crashreporter/google-breakpad/src/tools/gyp/ # remove some extraneous bits
  rm -rf toolkit/crashreporter/google-breakpad/src/third_party/protobuf toolkit/crashreporter/google-breakpad/src/testing/ toolkit/crashreporter/google-breakpad/src/tools/gyp/ # remove some extraneous bits
** hg st -n | grep "Makefile\.in$" | xargs hg revert --no-backup # restore our Makefile.ins
  hg st -n | grep "Makefile\.in$" | xargs hg revert --no-backup # restore our Makefile.ins
** hg addremove toolkit/crashreporter/google-breakpad/
  hg st -n | grep "objs\.mk$" | xargs hg revert --no-backup # and some other makefiles
  hg addremove toolkit/crashreporter/google-breakpad/

Revision as of 15:02, 17 September 2012

Follow these steps to update the Breakpad snapshot in mozilla-central to a newer version from the Breakpad SVN repository:

 rm -rf toolkit/crashreporter/google-breakpad
 svn export ../google-breakpad ./toolkit/crashreporter/google-breakpad # assuming you checked out the Breakpad source to ../google-breakpad
 rm -rf toolkit/crashreporter/google-breakpad/src/third_party/protobuf toolkit/crashreporter/google-breakpad/src/testing/ toolkit/crashreporter/google-breakpad/src/tools/gyp/ # remove some extraneous bits
 hg st -n | grep "Makefile\.in$" | xargs hg revert --no-backup # restore our Makefile.ins
 hg st -n | grep "objs\.mk$" | xargs hg revert --no-backup # and some other makefiles
 hg addremove toolkit/crashreporter/google-breakpad/