[vlc-devel] [PATCH 1/3] contribs: Add breakpad crash reporter to contribs

Marvin Scholz epirat07 at gmail.com
Fri Feb 17 00:36:03 CET 2017


macOS only, for the moment.
---
 contrib/src/breakpad/rules.mak | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 contrib/src/breakpad/rules.mak

diff --git a/contrib/src/breakpad/rules.mak b/contrib/src/breakpad/rules.mak
new file mode 100644
index 0000000..85ece08
--- /dev/null
+++ b/contrib/src/breakpad/rules.mak
@@ -0,0 +1,26 @@
+# breakpad
+
+BREAKPAD_GITURL := https://chromium.googlesource.com/breakpad/breakpad
+
+ifdef HAVE_MACOSX
+PKGS += breakpad
+endif
+
+$(TARBALLS)/breakpad-git.tar.xz:
+	$(call download_git,$(BREAKPAD_GITURL))
+
+.sum-breakpad: breakpad-git.tar.xz
+	$(warning $@ not implemented)
+	touch $@
+
+breakpad: breakpad-git.tar.xz
+	$(UNPACK)
+	$(MOVE)
+
+.breakpad: breakpad
+	cd $</src/client/mac/ && xcodebuild $(XCODE_FLAGS) CLANG_CXX_LIBRARY=libc++ WARNING_CFLAGS=-Wno-error
+	cd $</src/tools/mac/dump_syms && xcodebuild $(XCODE_FLAGS) CLANG_CXX_LIBRARY=libc++ WARNING_CFLAGS=-Wno-error
+	install -d $(PREFIX)
+	cd $</src/client/mac/ && cp -R build/Release/Breakpad.framework "$(PREFIX)"
+	cd $</src/tools/mac/dump_syms && cp -R build/Release/dump_syms "$(PREFIX)/bin"
+	touch $@
-- 
2.10.1 (Apple Git-78)



More information about the vlc-devel mailing list