2016-07-21 18:20:00 +02:00
|
|
|
# -*- 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/.
|
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
2016-11-18 16:33:11 -06:00
|
|
|
$(eval $(call gb_CppunitTest_CppunitScreenShot,sw_dialogs_test))
|
2016-07-21 18:20:00 +02:00
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sw_dialogs_test, \
|
|
|
|
sw/qa/unit/sw-dialogs-test \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sw_dialogs_test))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sw_dialogs_test,\
|
|
|
|
-I$(SRCDIR)/sw/source/ui/inc \
|
|
|
|
-I$(SRCDIR)/sw/inc \
|
Make sure swui's pSwResMgr is initialized in CppunitTest_sw_dialogs_test
...to avoid -fsanitize=null at
> sw/source/ui/misc/glossary.cxx:840:17: runtime error: reference binding to null pointer of type 'ResMgr'
> #0 0x7f980fc6b73f in SwGlTreeListBox::SwGlTreeListBox(vcl::Window*, long) sw/source/ui/misc/glossary.cxx:840:17
> #1 0x7f980fc80d56 in VclPtr<SwGlTreeListBox> VclPtr<SwGlTreeListBox>::Create<VclPtr<vcl::Window>&, long>(VclPtr<vcl::Window>&, long&&) include/vcl/vclptr.hxx:138:46
> #2 0x7f980fc6c5d2 in makeSwGlTreeListBox sw/source/ui/misc/glossary.cxx:851:1
> #3 0x7f985da4c3c4 in VclBuilder::makeObject(vcl::Window*, rtl::OString const&, rtl::OString const&, std::__debug::map<rtl::OString, rtl::OString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OString> > >&) vcl/source/window/builder.cxx:1793:17
Change-Id: Ieb0d0f6b561e93acbee8208e1ba445879e99adc1
2016-11-18 08:31:45 +01:00
|
|
|
-I$(SRCDIR)/sw/source/uibase/inc \
|
2016-07-21 18:20:00 +02:00
|
|
|
$$(INCLUDE) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sw_dialogs_test, \
|
|
|
|
basegfx \
|
|
|
|
comphelper \
|
|
|
|
cppu \
|
|
|
|
cppuhelper \
|
|
|
|
drawinglayer \
|
|
|
|
editeng \
|
|
|
|
i18nlangtag \
|
|
|
|
i18nutil \
|
|
|
|
msfilter \
|
|
|
|
oox \
|
|
|
|
sal \
|
|
|
|
salhelper \
|
|
|
|
sax \
|
|
|
|
sw \
|
|
|
|
swui \
|
|
|
|
sfx \
|
|
|
|
sot \
|
|
|
|
svl \
|
|
|
|
svt \
|
|
|
|
svx \
|
|
|
|
svxcore \
|
|
|
|
test \
|
|
|
|
tl \
|
|
|
|
tk \
|
|
|
|
ucbhelper \
|
|
|
|
unotest \
|
|
|
|
utl \
|
|
|
|
vcl \
|
|
|
|
xo \
|
|
|
|
$(gb_UWINAPI) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,sw_dialogs_test,boost_headers))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sw_dialogs_test))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sw_dialogs_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_vcl_non_headless_with_windows,sw_dialogs_test))
|
|
|
|
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sw_dialogs_test,services))
|
|
|
|
|
|
|
|
# $(eval $(call gb_CppunitTest_use_configuration,sw_dialogs_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_instdir_configuration,sw_dialogs_test))
|
|
|
|
|
2016-11-19 21:53:20 +01:00
|
|
|
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_dialogs_test,\
|
|
|
|
modules/swriter \
|
|
|
|
))
|
|
|
|
|
2016-11-20 13:38:30 +01:00
|
|
|
$(eval $(call gb_CppunitTest_use_packages,sw_dialogs_test,\
|
|
|
|
extras_palettes \
|
|
|
|
))
|
|
|
|
|
2016-07-21 18:20:00 +02:00
|
|
|
# vim: set noet sw=4 ts=4:
|