Prepare for removal of non-const operator[] from Sequence in vbahelper
[LibreOffice.git] / sd / import_setup.mk
blob0fd0984aca2ca71162aaeee06d4542d51959b9fc
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 import tests
13 define sd_import_test
15 $(eval $(call gb_CppunitTest_CppunitTest,sd_import_tests$(1)))
17 $(eval $(call gb_CppunitTest_use_externals,sd_import_tests$(1),\
18 boost_headers \
19 libxml2 \
22 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sd_import_tests$(1)))
24 $(eval $(call gb_CppunitTest_add_exception_objects,sd_import_tests$(1), \
25 sd/qa/unit/import-tests$(1) \
28 $(eval $(call gb_CppunitTest_use_libraries,sd_import_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 svl \
48 svt \
49 svx \
50 svxcore \
51 test \
52 tl \
53 tk \
54 ucbhelper \
55 unotest \
56 utl \
57 vcl \
58 xo \
61 $(eval $(call gb_CppunitTest_set_include,sd_import_tests$(1),\
62 -I$(SRCDIR)/sd/source/ui/inc \
63 -I$(SRCDIR)/sd/inc \
64 $$(INCLUDE) \
67 $(eval $(call gb_CppunitTest_use_sdk_api,sd_import_tests$(1)))
69 $(eval $(call gb_CppunitTest_use_ure,sd_import_tests$(1)))
70 $(eval $(call gb_CppunitTest_use_vcl,sd_import_tests$(1)))
72 $(eval $(call gb_CppunitTest_use_components,sd_import_tests$(1),\
73 animations/source/animcore/animcore \
74 basic/util/sb \
75 chart2/source/chartcore \
76 chart2/source/controller/chartcontroller \
77 comphelper/util/comphelp \
78 configmgr/source/configmgr \
79 dbaccess/util/dba \
80 desktop/source/deployment/deployment \
81 drawinglayer/drawinglayer \
82 embeddedobj/util/embobj \
83 emfio/emfio \
84 filter/source/config/cache/filterconfig1 \
85 filter/source/odfflatxml/odfflatxml \
86 filter/source/svg/svgfilter \
87 filter/source/pdf/pdffilter \
88 filter/source/xmlfilteradaptor/xmlfa \
89 filter/source/xmlfilterdetect/xmlfd \
90 filter/source/storagefilterdetect/storagefd \
91 forms/util/frm \
92 framework/util/fwk \
93 i18npool/util/i18npool \
94 linguistic/source/lng \
95 oox/util/oox \
96 package/source/xstor/xstor \
97 package/util/package2 \
98 sax/source/expatwrap/expwrap \
99 sd/util/sd \
100 sd/util/sdfilt \
101 sd/util/sdd \
102 $(if $(ENABLE_POPPLER),sdext/source/pdfimport/pdfimport) \
103 sfx2/util/sfx \
104 sot/util/sot \
105 svl/source/fsstor/fsstorage \
106 svtools/util/svt \
107 svx/util/svxcore \
108 svgio/svgio \
109 toolkit/util/tk \
110 ucb/source/core/ucb1 \
111 ucb/source/ucp/expand/ucpexpand1 \
112 ucb/source/ucp/file/ucpfile1 \
113 ucb/source/ucp/package/ucppkg1 \
114 ucb/source/ucp/tdoc/ucptdoc1 \
115 unotools/util/utl \
116 unoxml/source/rdf/unordf \
117 unoxml/source/service/unoxml \
118 uui/util/uui \
119 vcl/vcl.common \
120 xmlscript/util/xmlscript \
121 xmloff/util/xo \
122 xmlsecurity/util/xmlsecurity \
125 $(eval $(call gb_CppunitTest_use_configuration,sd_import_tests$(1)))
127 $(eval $(call gb_CppunitTest_use_packages,sd_import_tests$(1),\
128 oox_customshapes \
131 ifneq ($(ENABLE_POPPLER),)
132 $(eval $(call gb_CppunitTest_use_executable,sd_import_tests$(1),xpdfimport))
133 endif
135 $(eval $(call gb_CppunitTest_add_arguments,sd_import_tests$(1), \
136 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
139 endef
141 # vim: set noet sw=4 ts=4: