office-gobmx/testtools/Library_bridgetest-common.mk
Stephan Bergmann 16bbeb5713 Change the shared bridgetest code from static to dynamic library
...so ASan builds do not complain about ODR violations due to multiple instances
of vtable for testtools::bridgetest::CurrentContextChecker after
a53808c0ed "loplugin:dllprivate" removed the
SAL_DLLPRIVATE from class CurrentContextChecker (which apparently /did/ have an
impact with -fvisibility-ms-compat, as used by Linux Clang ASan/UBSan builds).

Change-Id: Ifb1ba1819f7ea989300f4696d44f9599a1436563
2016-09-14 15:52:04 +02:00

38 lines
1 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,testtools_bridgetest-common))
$(eval $(call gb_Library_add_defs,testtools_bridgetest-common, \
-DLO_DLLIMPLEMENTATION_TESTTOOLS \
))
$(eval $(call gb_Library_use_external,testtools_bridgetest-common,boost_headers))
$(eval $(call gb_Library_use_internal_api,testtools_bridgetest-common,\
bridgetest \
))
$(eval $(call gb_Library_use_libraries,testtools_bridgetest-common, \
cppu \
cppuhelper \
sal \
))
$(eval $(call gb_Library_use_api,testtools_bridgetest-common,\
udkapi \
))
$(eval $(call gb_Library_add_exception_objects,testtools_bridgetest-common,\
testtools/source/bridgetest/currentcontextchecker \
testtools/source/bridgetest/multi \
))
# vim: set noet sw=4 ts=4: