tdf#100151: Dispose of window if DX device creation failed
[LibreOffice.git] / desktop / Library_crashreport.mk
blobd6d9b8b91cc5c0311279ae7765f9d939e4050298
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_Library_Library,crashreport))
12 $(eval $(call gb_Library_set_include,crashreport,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/desktop/inc \
17 $(eval $(call gb_Library_use_externals,crashreport,\
18 breakpad \
19 curl \
22 $(eval $(call gb_Library_add_defs,crashreport,\
23 -DCRASHREPORT_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_add_libs,crashreport,\
27 $(if $(filter LINUX %BSD SOLARIS, $(OS)), \
28 $(DLOPEN_LIBS) \
29 -lpthread \
30 ) \
33 $(eval $(call gb_Library_use_libraries,crashreport,\
34 comphelper \
35 cppu \
36 cppuhelper \
37 sal \
38 salhelper \
39 utl \
40 $(gb_UWINAPI) \
43 $(eval $(call gb_Library_add_exception_objects,crashreport,\
44 desktop/source/app/crashreport \
45 desktop/source/minidump/minidump \
49 # vim: set ts=4 sw=4 et: