Update git submodules
[LibreOffice.git] / sd / export_setup.mk
blob326449e3f89a985bcfa1557ec9a6f6c35ae82ca3
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 sd_export_test
15 $(eval $(call gb_CppunitTest_CppunitTest,sd_export_tests$(1)))
17 $(eval $(call gb_CppunitTest_use_externals,sd_export_tests$(1),\
18 boost_headers \
19 libxml2 \
22 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sd_export_tests$(1)))
24 $(eval $(call gb_CppunitTest_add_exception_objects,sd_export_tests$(1), \
25 sd/qa/unit/export-tests$(1) \
28 $(eval $(call gb_CppunitTest_use_libraries,sd_export_tests$(1), \
29 $(call gb_Helper_optional,AVMEDIA,avmedia) \
30 basegfx \
31 comphelper \
32 cppu \
33 cppuhelper \
34 drawinglayer \
35 editeng \
36 for \
37 forui \
38 i18nlangtag \
39 msfilter \
40 oox \
41 sal \
42 salhelper \
43 sax \
44 sd \
45 sfx \
46 sot \
47 subsequenttest \
48 svl \
49 svt \
50 svx \
51 svxcore \
52 test \
53 tl \
54 tk \
55 ucbhelper \
56 unotest \
57 utl \
58 vcl \
59 xo \
62 $(eval $(call gb_CppunitTest_set_include,sd_export_tests$(1),\
63 -I$(SRCDIR)/sd/source/ui/inc \
64 -I$(SRCDIR)/sd/inc \
65 $$(INCLUDE) \
68 $(eval $(call gb_CppunitTest_use_sdk_api,sd_export_tests$(1)))
70 $(eval $(call gb_CppunitTest_use_ure,sd_export_tests$(1)))
71 $(eval $(call gb_CppunitTest_use_vcl,sd_export_tests$(1)))
73 $(eval $(call gb_CppunitTest_use_rdb,sd_export_tests$(1),services))
75 $(eval $(call gb_CppunitTest_use_custom_headers,sd_export_tests$(1),\
76 officecfg/registry \
79 $(eval $(call gb_CppunitTest_use_configuration,sd_export_tests$(1)))
81 $(eval $(call gb_CppunitTest_add_arguments,sd_export_tests$(1),\
82 -env:SVG_DISABLE_FONT_EMBEDDING= \
83 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
86 endef
88 # vim: set noet sw=4 ts=4: