Branch libreoffice-7-2-5
[LibreOffice.git] / external / breakpad / UnpackedTarball_breakpad.mk
blob1b92728946cd4b65294a8b71a5b74a1aeb5cf3c8
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_UnpackedTarball_UnpackedTarball,breakpad))
12 $(eval $(call gb_UnpackedTarball_set_patchlevel,breakpad,0))
14 $(eval $(call gb_UnpackedTarball_set_tarball,breakpad,$(BREAKPAD_TARBALL)))
16 # external/breakpad/0001-Handle-race-between-ExceptionHandler-SignalHandler-a.patch upstreamed at
17 # <https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1176811> "Handle race between
18 # ExceptionHandler::SignalHandler and ~ExceptionHandler":
19 $(eval $(call gb_UnpackedTarball_add_patches,breakpad,\
20 external/breakpad/breakpad-use-correct-http-header.patch.1 \
21 external/breakpad/breakpad-wshadow.patch.1 \
22 external/breakpad/breakpad-stackwalk.patch.1 \
23 external/breakpad/0001-Handle-race-between-ExceptionHandler-SignalHandler-a.patch.1 \
24 external/breakpad/c++20-allocator.patch \
25 external/breakpad/breakpad-dump_syms.patch.1 \
26 external/breakpad/breakpad-no-env.patch.1 \
29 $(eval $(call gb_UnpackedTarball_add_files,breakpad,src/tools/windows/dump_syms,\
30 external/breakpad/dump_syms.vcxproj \
31 external/breakpad/dump_syms.sln \
34 ifeq ($(COM_IS_CLANG),TRUE)
35 ifneq ($(filter -fsanitize=%,$(CC)),)
36 $(eval $(call gb_UnpackedTarball_add_patches,breakpad, \
37 external/breakpad/ubsan.patch \
39 endif
40 endif
42 # vim: set noet sw=4 ts=4: