summaryrefslogtreecommitdiffstats
path: root/breakpad/breakpad.gyp
Commit message (Collapse)AuthorAgeFilesLines
* Allow minidump-2-core to be built from gypmarkus@chromium.org2010-08-191-0/+13
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3112019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56692 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Speculative fix following the Breakpad roll to r657.thestig@chromium.org2010-08-191-0/+2
| | | | | | | | | BUG=none TEST=Official Mac bot builds. TBR=mark Review URL: http://codereview.chromium.org/3176020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56664 0039d316-1c4b-4281-b951-d872f2087c98
* Resync dump_syms binary in breakpad.gyp with upstream.mnissler@chromium.org2010-07-231-2/+0
| | | | | | | | | | | | This avoids a link error due to missing dependencies to stuff defined in test_assembler.cc. BUG=none TEST=dump_syms links Review URL: http://codereview.chromium.org/2873058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53444 0039d316-1c4b-4281-b951-d872f2087c98
* Update breakpad.gyp for Mac compatibility with Breakpad r627 as used bymark@chromium.org2010-07-201-5/+25
| | | | | | | | | | Chromium r52958. BUG=none TEST=official build Review URL: http://codereview.chromium.org/3008012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53041 0039d316-1c4b-4281-b951-d872f2087c98
* Update Breakpad to r609 to pick up:mark@chromium.org2010-06-241-1/+1
| | | | | | | | | | Convert files in .nib format to .xib format. BUG=38443 TEST=none Review URL: http://codereview.chromium.org/2854020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50764 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break due to breakpad gyp missing stabs_to_module.*zhurunz@google.com2010-05-291-0/+2
| | | | | | Review URL: http://codereview.chromium.org/2335006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48564 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break due to dump_stabs/breakpad.zhurunz@google.com2010-05-291-2/+0
| | | | | | Review URL: http://codereview.chromium.org/2355004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48563 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break in breakpad.zhurunz@google.com2010-05-291-0/+7
| | | | | | Review URL: http://codereview.chromium.org/2397002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48562 0039d316-1c4b-4281-b951-d872f2087c98
* Sync to latest breakpad which don't have deps on libglog. Be able to build ↵zhurunz@google.com2010-05-281-0/+6
| | | | | | | | with "shared_library". Review URL: http://codereview.chromium.org/2388001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48539 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48397 - Upgrade the breakpad deps to r600. Includes a #define in the ↵siggi@chromium.org2010-05-271-6/+0
| | | | | | | | | | | | | | | GYP files that's needed by r583, but not defined in Chrome. Since Chrome uses its own GYP files for breakpad, we have to duplicate the definition. Submitting on behalf of hansl@google.com, original change at http://codereview.chromium.org/2290001/show. BUG=None TEST=None TBR=siggi@chromium.org Review URL: http://codereview.chromium.org/2257006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48407 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrade the breakpad deps to r600. Includes a #define in the GYP files ↵siggi@chromium.org2010-05-271-0/+6
| | | | | | | | | | | | that's needed by r583, but not defined in Chrome. Since Chrome uses its own GYP files for breakpad, we have to duplicate the definition. Submitting on behalf of hansl@google.com, original change at http://codereview.chromium.org/2290001/show. BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48397 0039d316-1c4b-4281-b951-d872f2087c98
* Update breakpad to make it build with new files from upstream.zhurunz@google.com2010-05-221-1/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47985 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 47955 - Update breakpad to make it build with new files from upstream.skrul@chromium.org2010-05-211-7/+1
| | | | | | | | Review URL: http://codereview.chromium.org/2113020 TBR=zhurunz@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47962 0039d316-1c4b-4281-b951-d872f2087c98
* Update breakpad to make it build with new files from upstream.zhurunz@google.com2010-05-211-1/+7
| | | | | | Review URL: http://codereview.chromium.org/2113020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47955 0039d316-1c4b-4281-b951-d872f2087c98
* Breakpad: sort unittests and add file_id_unittest.ccagl@chromium.org2010-04-051-3/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43668 0039d316-1c4b-4281-b951-d872f2087c98
* Fix breakpad (again)agl@chromium.org2010-04-051-2/+2
| | | | | | | I had left over .o files in my out/ directory so the last change didn't catch everything. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43662 0039d316-1c4b-4281-b951-d872f2087c98
* Fix breakpad paths.agl@chromium.org2010-04-051-12/+12
| | | | | | | Looks like I lost a GYP define after a gclient sync and didn't notice that I got some paths wrong in breakpad.gyp. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43654 0039d316-1c4b-4281-b951-d872f2087c98
* Roll breakpad.agl@chromium.org2010-04-051-0/+26
| | | | | | | | | BUG=none TEST=none http://codereview.chromium.org/1589017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43648 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43081 - Bump breakpad version to version 557, which improves how ↵dmaclach@chromium.org2010-03-301-4/+0
| | | | | | | | | | | | | | invalid argument CRT reports are generated to allow sorting those dumps by stack signature. BUG=none TEST=none Review URL: http://codereview.chromium.org/1418001 TBR=siggi@chromium.org Review URL: http://codereview.chromium.org/1556003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43103 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on RTTI for the Mac dump_syms. Breakpad r550 requires it, and aftermark@chromium.org2010-03-301-0/+2
| | | | | | | | | | | considering the alternatives, I've decided that it's not terrible. This code does not make it into the Chrome build, it's only used for the symbol dumper. BUG=none TEST=Mac official build Review URL: http://codereview.chromium.org/1535005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43092 0039d316-1c4b-4281-b951-d872f2087c98
* Bump breakpad version to version 557, which improves how invalid argument ↵siggi@chromium.org2010-03-301-0/+4
| | | | | | | | | | | CRT reports are generated to allow sorting those dumps by stack signature. BUG=none TEST=none Review URL: http://codereview.chromium.org/1418001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43081 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-221-2/+2
| | | | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35012 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35129 0039d316-1c4b-4281-b951-d872f2087c98
* Fix breakpad.gyp to reflect the new locations of the DWARF utilities. Thesemark@chromium.org2009-12-211-3/+3
| | | | | | | | | | | files moved in Breakpad r446, and the .gyp file should have been modified when Breakpad was updated from r432 to r452 in our r34916. BUG=none TEST=none Review URL: http://codereview.chromium.org/504077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35097 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35012 - Rearrange build configurations make it clearer and allow ↵gregoryd@google.com2009-12-191-2/+2
| | | | | | | | | | | | | | better support for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/500149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35016 0039d316-1c4b-4281-b951-d872f2087c98
* Rearrange build configurations - make it clearer and allow better support ↵gregoryd@google.com2009-12-191-2/+2
| | | | | | | | | | | for x64 on Windows TEST=none BUG=29467 Review URL: http://codereview.chromium.org/501127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35012 0039d316-1c4b-4281-b951-d872f2087c98
* Split breakpad.gyp and add two new Win64-specific targets.gregoryd@google.com2009-12-051-66/+4
| | | | | | | | | This is required for supporting NaCl on 64-bit Windows. breakpad_handler and breakpad_sender targets now have 32-bit and 64-bit versions. Review URL: http://codereview.chromium.org/464027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33931 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Use upstream google-breakpad instead of our fork.thestig@chromium.org2009-12-021-19/+38
| | | | | | | | BUG=28276 TEST=dump_syms works with ToT Chrome. Review URL: http://codereview.chromium.org/414049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33534 0039d316-1c4b-4281-b951-d872f2087c98
* Disable -fexceptions in Breakpad. I made the Mac Breakpad framework buildablemark@chromium.org2009-10-151-5/+0
| | | | | | | | | | | without -fexceptions in upstream r417. BUG=24911 (because this also eliminates some C++ exception symbols from the symbol table) TEST=none Review URL: http://codereview.chromium.org/267129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29201 0039d316-1c4b-4281-b951-d872f2087c98
* Add the BREAKPAD_NO_TERMINATE_THREAD define to breakpad build configsiggi@google.com2009-10-141-0/+4
| | | | | | | | | | | to avoid Application Verifier errors on some corner cases. BUG=none TEST=none Review URL: http://codereview.chromium.org/267097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29024 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+6
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS ↵thestig@chromium.org2009-08-261-2/+2
| | | | | | | | | | | | | support. (Try 2) TEST=none BUG=19663 Original Review URL: http://codereview.chromium.org/173095 Review URL: http://codereview.chromium.org/173397 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24378 0039d316-1c4b-4281-b951-d872f2087c98
* Refer to newly-filed bug about Breakpad Mac dump_syms compiler optimizationmark@chromium.org2009-08-251-1/+1
| | | | | | Review URL: http://codereview.chromium.org/173402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24334 0039d316-1c4b-4281-b951-d872f2087c98
* Build Mac Breakpad dump_syms at -O0 to avoid a crash.mark@chromium.org2009-08-251-1/+12
| | | | | | Review URL: http://codereview.chromium.org/174450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24329 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 24220.yutak@chromium.org2009-08-251-2/+2
| | | | | | | | | | It seemed that r24220 caused failures on all of Linux UI (valgrind) bots. TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/173345 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24228 0039d316-1c4b-4281-b951-d872f2087c98
* Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS ↵thestig@chromium.org2009-08-251-2/+2
| | | | | | | | | | support. TEST=none BUG=19663 Review URL: http://codereview.chromium.org/173095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24220 0039d316-1c4b-4281-b951-d872f2087c98
* Remove minidump_2_core target since it's not used and breaks 64-bit build.mmoss@chromium.org2009-08-201-13/+0
| | | | | | | Review URL: http://codereview.chromium.org/173138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23865 0039d316-1c4b-4281-b951-d872f2087c98
* Disable RTTI and C++ exceptions in the Mac build. Disable RTTI in the Linuxmark@chromium.org2009-08-131-0/+5
| | | | | | | | | | | | build, where C++ exceptions are already disabled. BUG=19094 12248 TEST=Mac release-mode Google Chrome.app should shrink by about 6MB. Mac disk image should shrink by about 1.5MB. Linux binary and package should shrink too. Review URL: http://codereview.chromium.org/165330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23304 0039d316-1c4b-4281-b951-d872f2087c98
* Always build breakpad tools with Linux official build.mmoss@chromium.org2009-06-111-37/+55
| | | | | | | | | | This removes the need for separate build runs with different hammer flags (e.g. --mode=Tool). Review URL: http://codereview.chromium.org/125009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18202 0039d316-1c4b-4281-b951-d872f2087c98
* Run real dsymutil to get a real .dSYM for Breakpad dump_syms. This willmark@chromium.org2009-06-011-1/+5
| | | | | | | | | | | allow dump_syms to access DWARF data for line numbers and other stuff, and not just public symbol table data. BUG=12776 TEST=set branding to Chrome, dsymutil should run and take forever Review URL: http://codereview.chromium.org/113999 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17316 0039d316-1c4b-4281-b951-d872f2087c98
* Fork breakpad's dump_syms and related code. Generate XOR of first page of ↵thestig@chromium.org2009-05-271-5/+6
| | | | | | | | | | memory instead of MD5 of text section. BUG=none TEST=none Review URL: http://codereview.chromium.org/113893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17031 0039d316-1c4b-4281-b951-d872f2087c98
* Breakpad's symupload needs -ldl.thestig@chromium.org2009-05-221-0/+5
| | | | | | Review URL: http://codereview.chromium.org/114045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16812 0039d316-1c4b-4281-b951-d872f2087c98
* Comment out dump_syms from the GYP file.agl@chromium.org2009-05-221-15/+15
| | | | | | | | leiz reports that it doesn't build: missing assert.h. Since it's breakpad code I'm not going to fork it just for this. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16726 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: Building all targets with 32-bit config would fail.agl@chromium.org2009-05-221-13/+16
| | | | | | | See comment in the patch. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16723 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add Breakpad supportagl@chromium.org2009-05-221-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits a rewrite of the Breakpad Linux client. The old code: * Had a number of plain bugs in it, but those could just have been fixed. * Allocated memory from the heap, which is a no go. * Made libc calls which can enter the dynamic linker - another source of crashes. * Didn't understand some of the tricks needed, like clone() via libc will write to random areas of memory because it assumes that it's only called from libpthread Additionally, we had one more requirement which meant changing the interface: * We need to be able to crash dump the renderers from the browser process. And that last one really needed a rewrite. We intend to try and upstream this new code into Breakpad. The new Breakpad design works like this: When a renderer crashes, a signal handler runs on an alternative stack and collects information about the registers of the thread before the crash. Then we enter Chromium specific code an send a datagram message to a magic file descriptor (4) containing: * the registers and tid of the crashing thread * the active URL * a file descriptor to a socket * a CREDENTIALS structure giving the PID of the renderer. On the other end of the socket is an object on the IO thread (render_crash_handler_host_linux.cc) which reads and parses the datagram. The CREDENTIALS structure is validated by the kernel, so the renderer can't lie about it's PID and try and get the browser to crash dump the wrong process. The browser then ptraces the renderer and extracts all the needed information to write a minidump to a temp file. Then we write a byte to the file descriptor which the renderer gave the browser in the datagram and that's the signal to the renderer to finish dying. It dies by sending itself the same signal which trigger the crash dump in the first place, so it will appear to crash as normal as far as kernel core dumps and waitpid are concerned. The browser then constucts a MIME message in a temp file for upload to the crash service. We then fork out to /usr/bin/wget to actually do the upload (since Debian numbers suggest that 99.8% of users have wget installed.) A second forked child unlinks the temp files once wget has completed. For a browser crash, everything works pretty much the same except that the datagram step is omitted and we clone() off a process to ptrace ourselves and write the minidump. This code is only enabled in Chrome branded builds. Stub source files are substituted in the case of a Chromium build. http://codereview.chromium.org/115526 BUG=9646,10772 TEST=Build a Chrome branded binary. Send SEGV to a renderer and verify that wget output appears on stderr. Send a SEGV to the main binary and verify the same. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16719 0039d316-1c4b-4281-b951-d872f2087c98
* Update where the nib is on disk since a change moved it to make localization ↵thomasvl@chromium.org2009-05-191-1/+1
| | | | | | | | string based. Review URL: http://codereview.chromium.org/115510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16369 0039d316-1c4b-4281-b951-d872f2087c98
* Moving all the breakpad stuff to: src/breakpadbradnelson@chromium.org2009-05-131-131/+195
| | | | | | | | (out of build/temp_gyp) Review URL: http://codereview.chromium.org/113352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15980 0039d316-1c4b-4281-b951-d872f2087c98
* OS X Breakpad cleanup.jeremy@chromium.org2009-05-071-0/+38
| | | | | | | | | * Compile OS X dump_syms & symupload utilities from the public repository to simplify the branded builder. * Correct comment in breakpad_mac_stubs.mm so it more accurately reflects reality. Review URL: http://codereview.chromium.org/113114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15574 0039d316-1c4b-4281-b951-d872f2087c98
* Last chunk of OS X Breakpad integration:jeremy@chromium.org2009-04-221-0/+8
| | | | | | | | | | * Link agasint Breakpad from public svn repo. * Bump DEPS to new svn rev of Breakpad with fixes for 10.5 compilation. * Fill in code to differentiate between processes types in crash report. Review URL: http://codereview.chromium.org/88043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14245 0039d316-1c4b-4281-b951-d872f2087c98
* .gyp file for Breakpad on OS X.jeremy@chromium.org2009-04-211-0/+99
| | | | | | Review URL: http://codereview.chromium.org/87014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14110 0039d316-1c4b-4281-b951-d872f2087c98