70 lines
2.5 KiB
Diff
70 lines
2.5 KiB
Diff
From 5fa811d42c78154290f17e261ce9e8be16911c93 Mon Sep 17 00:00:00 2001
|
|
From: Danny Robson <danny@nerdcruft.net>
|
|
Date: Thu, 31 Oct 2019 10:44:50 +1100
|
|
Subject: [PATCH 3/7] Build a minimal breakpad-client library if a MINGW_HOST
|
|
is detected.
|
|
|
|
---
|
|
Makefile.am | 38 ++++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 38 insertions(+)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 83fb5173..e9eecad5 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -100,6 +100,21 @@ includecldir = $(includedir)/$(PACKAGE)/common/linux
|
|
includecl_HEADERS = $(top_srcdir)/src/common/linux/*.h
|
|
endif
|
|
|
|
+if MINGW_HOST
|
|
+includeclhdir = $(includedir)/$(PACKAGE)/client/windows/handler
|
|
+includeclh_HEADERS = $(top_srcdir)/src/client/windows/handler/*.h
|
|
+
|
|
+includeclcdir = $(includedir)/$(PACKAGE)/client/windows/crash_generation
|
|
+includeclc_HEADERS = $(top_srcdir)/src/client/windows/crash_generation/*.h
|
|
+
|
|
+includeclccdir = $(includedir)/$(PACKAGE)/client/windows/common
|
|
+includeclcc_HEADERS = $(top_srcdir)/src/client/windows/common/*.h
|
|
+
|
|
+includecldir = $(includedir)/$(PACKAGE)/common/windows
|
|
+includecl_HEADERS = $(top_srcdir)/src/common/windows/*.h
|
|
+
|
|
+endif
|
|
+
|
|
includegbcdir = $(includedir)/$(PACKAGE)/google_breakpad/common
|
|
includegbc_HEADERS = $(top_srcdir)/src/google_breakpad/common/*.h
|
|
|
|
@@ -203,6 +218,29 @@ src_client_linux_libbreakpad_client_a_SOURCES += \
|
|
endif
|
|
endif LINUX_HOST
|
|
|
|
+if MINGW_HOST
|
|
+lib_LIBRARIES += src/client/windows/libbreakpad_client.a
|
|
+pkgconfig_DATA += breakpad-client.pc
|
|
+
|
|
+src_client_windows_libbreakpad_client_a_SOURCES = \
|
|
+ src/common/windows/guid_string.cc \
|
|
+ src/common/windows/guid_string.h \
|
|
+ src/client/windows/common/auto_critical_section.h \
|
|
+ src/client/windows/common/ipc_protocol.h \
|
|
+ src/client/windows/crash_generation/client_info.cc \
|
|
+ src/client/windows/crash_generation/client_info.h \
|
|
+ src/client/windows/crash_generation/crash_generation_client.cc \
|
|
+ src/client/windows/crash_generation/crash_generation_client.h \
|
|
+ src/client/windows/crash_generation/crash_generation_server.cc \
|
|
+ src/client/windows/crash_generation/crash_generation_server.h \
|
|
+ src/client/windows/crash_generation/minidump_generator.cc \
|
|
+ src/client/windows/crash_generation/minidump_generator.h \
|
|
+ src/client/windows/handler/exception_handler.cc \
|
|
+ src/client/windows/handler/exception_handler.h \
|
|
+ src/client/windows/sender/crash_report_sender.cc \
|
|
+ src/client/windows/sender/crash_report_sender.h
|
|
+endif
|
|
+
|
|
if !DISABLE_PROCESSOR
|
|
src_libbreakpad_a_SOURCES = \
|
|
src/google_breakpad/common/breakpad_types.h \
|
|
--
|
|
2.28.0
|
|
|