office-gobmx/svgio/CppunitTest_svgio_read.mk
Michael Stahl b636d57e8f svgio: don't use_library_objects in CppunitTest_svgio_read
==26032==ERROR: AddressSanitizer: odr-violation (0x7f3b41f544a0):
  [1] size=96 'vtable for svgio::svgreader::SvgCharacterNode' master/svgio/source/svgreader/svgcharacternode.cxx
  [2] size=96 'vtable for svgio::svgreader::SvgCharacterNode' master/svgio/source/svgreader/svgcharacternode.cxx
These globals were registered at these points:
  [1]:
    #0 0x43a090 in __asan_register_globals.part.13 (workdir/LinkTarget/Executable/cppunittester+0x43a090)
    #1 0x7f3b31e6e86d in asan.module_ctor (instdir/program/libsvgiolo.so+0x6186d)

  [2]:
    #0 0x43a090 in __asan_register_globals.part.13 (workdir/LinkTarget/Executable/cppunittester+0x43a090)
    #1 0x7f3b41da5bad in asan.module_ctor (workdir/LinkTarget/CppunitTest/libtest_svgio_read.so+0x82bad)

Change-Id: Id2b32936d603ac2ed7df12d7e6f3ade094621578
Reviewed-on: https://gerrit.libreoffice.org/69092
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2019-03-12 14:46:48 +01:00

63 lines
1.3 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_CppunitTest_CppunitTest,svgio_read))
$(eval $(call gb_CppunitTest_add_exception_objects,svgio_read,\
svgio/qa/cppunit/SvgRead \
))
$(eval $(call gb_CppunitTest_set_include,svgio_read,\
$$(INCLUDE) \
-I$(SRCDIR)/svgio/inc \
))
$(eval $(call gb_CppunitTest_use_externals,svgio_read,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_libraries,svgio_read, \
basegfx \
comphelper \
cppu \
cppuhelper \
drawinglayer \
editeng \
i18nlangtag \
sal \
salhelper \
sax \
sot \
svl \
svt \
svx \
svxcore \
test \
tl \
tk \
ucbhelper \
unotest \
utl \
vcl \
xo \
))
$(eval $(call gb_CppunitTest_use_sdk_api,svgio_read))
$(eval $(call gb_CppunitTest_use_ure,svgio_read))
$(eval $(call gb_CppunitTest_use_vcl,svgio_read))
$(eval $(call gb_CppunitTest_use_rdb,svgio_read,services))
$(eval $(call gb_CppunitTest_use_custom_headers,svgio_read,\
officecfg/registry \
))
$(eval $(call gb_CppunitTest_use_configuration,svgio_read))
# vim: set noet sw=4 ts=4: