Fix typo
[LibreOffice.git] / sd / import_setup.mk
blobf4788040d3fa1f38956cf657fb2a2e8ea46b0600
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 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_import_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_import_tests$(1)))
70 $(eval $(call gb_CppunitTest_use_ure,sd_import_tests$(1)))
71 $(eval $(call gb_CppunitTest_use_vcl,sd_import_tests$(1)))
73 $(eval $(call gb_CppunitTest_use_components,sd_import_tests$(1),\
74 animations/source/animcore/animcore \
75 basic/util/sb \
76 chart2/source/chartcore \
77 chart2/source/controller/chartcontroller \
78 comphelper/util/comphelp \
79 configmgr/source/configmgr \
80 dbaccess/util/dba \
81 desktop/source/deployment/deployment \
82 drawinglayer/drawinglayer \
83 embeddedobj/util/embobj \
84 emfio/emfio \
85 filter/source/config/cache/filterconfig1 \
86 filter/source/odfflatxml/odfflatxml \
87 filter/source/svg/svgfilter \
88 filter/source/pdf/pdffilter \
89 filter/source/xmlfilteradaptor/xmlfa \
90 filter/source/xmlfilterdetect/xmlfd \
91 filter/source/storagefilterdetect/storagefd \
92 forms/util/frm \
93 framework/util/fwk \
94 i18npool/util/i18npool \
95 linguistic/source/lng \
96 oox/util/oox \
97 package/source/xstor/xstor \
98 package/util/package2 \
99 sax/source/expatwrap/expwrap \
100 sd/util/sd \
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: