Avoid potential negative array index access to cached text.
[LibreOffice.git] / vcl / CppunitTest_vcl_cjk.mk
blobea2d70a35cd6f12cc4550cd09fd7bcc0b77125fd
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,vcl_cjk))
12 $(eval $(call gb_CppunitTest_set_include,vcl_cjk,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/vcl/inc \
17 $(eval $(call gb_CppunitTest_add_exception_objects,vcl_cjk, \
18 vcl/qa/cppunit/cjktext \
21 $(eval $(call gb_CppunitTest_use_externals,vcl_cjk,\
22 boost_headers \
23 harfbuzz \
26 ifeq ($(SYSTEM_ICU),TRUE)
27 $(eval $(call gb_CppunitTest_use_externals,vcl_cjk,\
28 icuuc \
30 else
31 $(eval $(call gb_CppunitTest_use_externals,vcl_cjk,\
32 icu_headers \
34 endif
36 $(eval $(call gb_CppunitTest_use_libraries,vcl_cjk, \
37 comphelper \
38 cppu \
39 cppuhelper \
40 i18nlangtag \
41 sal \
42 svt \
43 test \
44 tl \
45 unotest \
46 vcl \
49 $(eval $(call gb_CppunitTest_use_sdk_api,vcl_cjk))
51 $(eval $(call gb_CppunitTest_use_ure,vcl_cjk))
52 $(eval $(call gb_CppunitTest_use_vcl,vcl_cjk))
54 $(eval $(call gb_CppunitTest_use_components,vcl_cjk,\
55 configmgr/source/configmgr \
56 i18npool/util/i18npool \
57 ucb/source/core/ucb1 \
60 $(eval $(call gb_CppunitTest_use_configuration,vcl_cjk))
62 $(eval $(call gb_CppunitTest_use_more_fonts,vcl_cjk))
64 # we don't have any bundled cjk fonts, so allow use of
65 # system fonts for the cjk tests, tests have to survive
66 # unavailable fonts
67 $(eval $(call gb_CppunitTest_set_non_application_font_use,vcl_cjk,allow))
69 # vim: set noet sw=4 ts=4: