office-gobmx/svgio/CppunitTest_svgio.mk
Xisco Fauli 0a2535ceb0 tdf#160386: Add support for switch element
For now, only use language tag, meaning if
there is a file like in the unittest with

<text systemLanguage="en-us">Howdy!</text>
<text systemLanguage="en-gb">Wotcha!</text>
<text systemLanguage="en-au">G'day!</text>
<text systemLanguage="en">Hello!</text>

"Hello!" with be displayed in a en_AU system locale

This patch partially reverts 13a41e7a12
"tdf#150124: do nothing when parent is of unkown type"
making 0dfd8288a8
"ofz#60384 Direct-leak" no longer necessary

Change-Id: Ifc73bc69aa997088dc0a2b11d7d30446303fa3b3

Change-Id: I885ef0f2c44b86196881fe55a963db2e5c7eb1be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165394
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-03-27 23:44:40 +01:00

79 lines
1.8 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))
$(eval $(call gb_CppunitTest_set_componentfile,svgio,svgio/svgio))
$(eval $(call gb_CppunitTest_set_include,svgio,\
$$(INCLUDE) \
-I$(SRCDIR)/svgio/inc \
))
$(eval $(call gb_CppunitTest_use_externals,svgio,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_sdk_api,svgio))
$(eval $(call gb_CppunitTest_use_library_objects,svgio,\
svgio \
))
$(eval $(call gb_CppunitTest_use_libraries,svgio,\
basegfx \
drawinglayer \
drawinglayercore \
cppu \
cppuhelper \
comphelper \
i18nlangtag \
sal \
salhelper \
sax \
svt \
test \
unotest \
tk \
tl \
utl \
vcl \
))
$(eval $(call gb_CppunitTest_add_exception_objects,svgio,\
svgio/qa/cppunit/SvgImportTest \
))
$(eval $(call gb_CppunitTest_use_ure,svgio))
$(eval $(call gb_CppunitTest_use_vcl,svgio))
$(eval $(call gb_CppunitTest_use_components,svgio,\
configmgr/source/configmgr \
framework/util/fwk \
i18npool/util/i18npool \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
vcl/vcl.common \
))
$(eval $(call gb_CppunitTest_use_configuration,svgio))
# assert if font/glyph fallback occurs
$(eval $(call gb_CppunitTest_set_non_application_font_use,svgio,abort))
$(eval $(call gb_CppunitTest_use_more_fonts,svgio))
# vim: set noet sw=4 ts=4: