Breakpad/Updating to latest Breakpad from SVN

From MozillaWiki
Jump to: navigation, search

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
 find toolkit/crashreporter/google-breakpad/ -name "" | xargs rm # remove files to avoid breaking B2G build
 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/