Avoid potential negative array index access to cached text.
[LibreOffice.git] / i18nlangtag / CppunitTest_i18nlangtag_test_languagetag.mk
blob271aa7f21558ce8b37c92c208af6527f8f25707d
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_CppunitTest_CppunitTest,i18nlangtag_test_languagetag))
12 $(eval $(call gb_CppunitTest_use_external,i18nlangtag_test_languagetag,boost_headers))
14 $(eval $(call gb_CppunitTest_use_sdk_api,i18nlangtag_test_languagetag))
16 $(eval $(call gb_CppunitTest_use_libraries,i18nlangtag_test_languagetag,\
17 i18nlangtag \
18 cppu \
19 cppuhelper \
20 sal \
23 $(eval $(call gb_CppunitTest_use_externals,i18nlangtag_test_languagetag,\
24 icu_headers \
25 icuuc \
26 liblangtag \
29 ifneq ($(SYSTEM_LIBLANGTAG),)
30 $(eval $(call gb_CppunitTest_add_defs,i18nlangtag_test_languagetag,-DSYSTEM_LIBLANGTAG))
31 else
32 $(eval $(call gb_CppunitTest_use_package,i18nlangtag_test_languagetag,liblangtag_data))
33 endif
35 $(eval $(call gb_CppunitTest_add_exception_objects,i18nlangtag_test_languagetag,\
36 i18nlangtag/qa/cppunit/test_languagetag \
39 # vim: set noet sw=4 ts=4: