Skip to content

Commit

Permalink
bug 559228 - Update Breakpad to r652 (mozilla build system changes). …
Browse files Browse the repository at this point in the history
…r=bsmedberg a=blocking

--HG--
extra : rebase_source : a3aeb2907f6102abd1628387beed004e242f9c3b
  • Loading branch information
Ted Mielczarek committed Aug 16, 2010
1 parent ad21a16 commit 96bb87c
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 1 deletion.
1 change: 1 addition & 0 deletions toolkit/crashreporter/Makefile.in
Expand Up @@ -61,6 +61,7 @@ DIRS += \
google-breakpad/src/common \
google-breakpad/src/common/mac \
google-breakpad/src/client \
google-breakpad/src/client/mac/crash_generation \
google-breakpad/src/client/mac/handler \
google-breakpad/src/tools/mac/dump_syms \
$(NULL)
Expand Down
@@ -0,0 +1,59 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla Breakpad integration
#
# The Initial Developer of the Original Code is
# The Mozilla Foundation
# Portions created by the Initial Developer are Copyright (C) 2010
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Ted Mielczarek <ted.mielczarek@gmail.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****

DEPTH = ../../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE = crash_generation
LIBRARY_NAME = crash_generation_s
XPI_NAME = crashreporter

LOCAL_INCLUDES = -I$(srcdir)/../../..

CPPSRCS = \
crash_generation_client.cc \
crash_generation_server.cc \
$(NULL)

# need static lib
FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk
Expand Up @@ -63,6 +63,10 @@ CMSRCS = \
HTTPMultipartUpload.m \
$(NULL)

CMMSRCS = \
MachIPC.mm \
$(NULL)

HOST_CPPSRCS = $(CPPSRCS)

HOST_CMMSRCS = \
Expand All @@ -73,3 +77,5 @@ HOST_CMMSRCS = \
FORCE_STATIC_LIB = 1

include $(topsrcdir)/config/rules.mk

COMPILE_CMFLAGS += -std=c99
6 changes: 5 additions & 1 deletion toolkit/crashreporter/nsExceptionHandler.cpp
Expand Up @@ -570,8 +570,12 @@ nsresult SetExceptionHandler(nsILocalFile* aXREDirectory,
#if defined(XP_WIN32)
google_breakpad::ExceptionHandler::HANDLER_ALL);
#else
true);
true
#endif
#if defined(XP_MACOSX)
, NULL
#endif
);

if (!gExceptionHandler)
return NS_ERROR_OUT_OF_MEMORY;
Expand Down
1 change: 1 addition & 0 deletions toolkit/xre/Makefile.in
Expand Up @@ -154,6 +154,7 @@ endif
ifeq ($(OS_ARCH),Darwin)
SHARED_LIBRARY_LIBS += \
$(DEPTH)/toolkit/crashreporter/google-breakpad/src/client/$(LIB_PREFIX)minidump_file_writer_s.$(LIB_SUFFIX) \
$(DEPTH)/toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/$(LIB_PREFIX)crash_generation_s.$(LIB_SUFFIX) \
$(DEPTH)/toolkit/crashreporter/google-breakpad/src/client/mac/handler/$(LIB_PREFIX)exception_handler_s.$(LIB_SUFFIX) \
$(DEPTH)/toolkit/crashreporter/google-breakpad/src/common/$(LIB_PREFIX)breakpad_common_s.$(LIB_SUFFIX) \
$(DEPTH)/toolkit/crashreporter/google-breakpad/src/common/mac/$(LIB_PREFIX)breakpad_mac_common_s.$(LIB_SUFFIX)
Expand Down

0 comments on commit 96bb87c

Please sign in to comment.