Avoid potential negative array index access to cached text.
[LibreOffice.git] / chart2 / export_setup.mk
blob723df9897c4a48e21b9e8e896b8a04a2bcd21d5b
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #*************************************************************************
12 # template for export tests
13 define chart2_export$(1)_test
15 $(eval $(call gb_CppunitTest_CppunitTest,chart2_export$(1)))
17 $(eval $(call gb_CppunitTest_use_externals,chart2_export$(1), \
18 boost_headers \
19 libxml2 \
22 $(eval $(call gb_CppunitTest_add_exception_objects,chart2_export$(1), \
23 chart2/qa/extras/chart2export$(1) \
26 $(eval $(call gb_CppunitTest_use_libraries,chart2_export$(1), \
27 $(call gb_Helper_optional,AVMEDIA,avmedia) \
28 basegfx \
29 comphelper \
30 cppu \
31 cppuhelper \
32 drawinglayer \
33 editeng \
34 for \
35 forui \
36 i18nlangtag \
37 msfilter \
38 oox \
39 sal \
40 salhelper \
41 sax \
42 sb \
43 sc \
44 sw \
45 sd \
46 sfx \
47 sot \
48 subsequenttest \
49 svl \
50 svt \
51 svx \
52 svxcore \
53 test \
54 tl \
55 tk \
56 ucbhelper \
57 unotest \
58 utl \
59 $(call gb_Helper_optional,SCRIPTING, \
60 vbahelper) \
61 vcl \
62 xo \
65 $(eval $(call gb_CppunitTest_set_include,chart2_export$(1),\
66 -I$(SRCDIR)/chart2/inc \
67 $$(INCLUDE) \
70 $(eval $(call gb_CppunitTest_use_sdk_api,chart2_export$(1)))
72 $(eval $(call gb_CppunitTest_use_ure,chart2_export$(1)))
73 $(eval $(call gb_CppunitTest_use_vcl,chart2_export$(1)))
74 $(eval $(call gb_CppunitTest_use_rdb,chart2_export$(1),services))
76 $(eval $(call gb_CppunitTest_use_uiconfigs,chart2_export$(1), \
77 modules/swriter \
80 $(eval $(call gb_CppunitTest_use_configuration,chart2_export$(1)))
82 $(call gb_CppunitTest_get_target,chart2_export$(1)): $(call gb_Package_get_target,postprocess_images)
84 $(eval $(call gb_CppunitTest_add_arguments,chart2_export$(1), \
85 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
88 endef
90 # vim: set noet sw=4 ts=4: