dr78: #i115641# don't increment progress for empty repeated cells
[LibreOffice.git] / sc / CppunitTest_sc_filters_test.mk
blob9fcdf9dcfbd797b8e5d6cb0ec4c1e6d9312afda9
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Initial Developer of the Original Code is
16 # Caolán McNamara, Red Hat, Inc. <caolanm@redhat.com>
17 # Portions created by the Initial Developer are Copyright (C) 2011 the
18 # Initial Developer. All Rights Reserved.
20 # Major Contributor(s):
22 # For minor contributions see the git repository.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
26 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
27 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
28 # instead of those above.
29 #*************************************************************************
31 $(eval $(call gb_CppunitTest_CppunitTest,sc_filters_test))
33 $(eval $(call gb_CppunitTest_add_exception_objects,sc_filters_test, \
34 sc/qa/unit/filters-test \
37 $(eval $(call gb_CppunitTest_add_linked_libs,sc_filters_test, \
38 avmedia \
39 basegfx \
40 comphelper \
41 cppu \
42 cppuhelper \
43 drawinglayer \
44 editeng \
45 fileacc \
46 for \
47 forui \
48 i18nisolang1 \
49 msfilter \
50 oox \
51 sal \
52 salhelper \
53 sax \
54 sc \
55 sfx \
56 sot \
57 svl \
58 svt \
59 svx \
60 svxcore \
61 test \
62 tl \
63 tk \
64 ucbhelper \
65 unotest \
66 utl \
67 vcl \
68 xo \
69 $(gb_STDLIBS) \
72 $(eval $(call gb_CppunitTest_set_include,sc_filters_test,\
73 -I$(realpath $(SRCDIR)/sc/source/ui/inc) \
74 -I$(realpath $(SRCDIR)/sc/inc) \
75 $$(INCLUDE) \
76 -I$(OUTDIR)/inc \
79 $(eval $(call gb_CppunitTest_add_api,sc_filters_test,\
80 offapi \
81 udkapi \
84 $(eval $(call gb_CppunitTest_uses_ure,sc_filters_test))
86 $(eval $(call gb_CppunitTest_add_type_rdbs,sc_filters_test,\
87 types \
90 $(eval $(call gb_CppunitTest_add_components,sc_filters_test,\
91 chart2/source/controller/chartcontroller \
92 chart2/source/tools/charttools \
93 chart2/source/model/chartmodel \
94 comphelper/util/comphelp \
95 dbaccess/util/dba \
96 eventattacher/source/evtatt \
97 fileaccess/source/fileacc \
98 filter/source/config/cache/filterconfig1 \
99 forms/util/frm \
100 framework/util/fwk \
101 i18npool/util/i18npool \
102 oox/util/oox \
103 package/source/xstor/xstor \
104 package/util/package2 \
105 sax/source/expatwrap/expwrap \
106 sax/source/fastparser/fastsax \
107 sc/util/sc \
108 sc/util/scfilt \
109 scaddins/source/analysis/analysis \
110 scaddins/source/datefunc/date \
111 sfx2/util/sfx \
112 sot/util/sot \
113 svl/util/svl \
114 toolkit/util/tk \
115 unotools/util/utl \
116 unoxml/source/rdf/unordf \
117 unoxml/source/service/unoxml \
118 xmlsecurity/util/xsec_fw \
119 xmlsecurity/util/xmlsecurity \
122 ifeq ($(ENABLE_XMLSEC),YES)
123 ifeq ($(OS),WNT)
124 $(eval $(call gb_CppunitTest_add_components,sc_filters_test,\
125 xmlsecurity/util/xsec_xmlsec.windows \
127 else
128 $(eval $(call gb_CppunitTest_add_components,sc_filters_test,\
129 xmlsecurity/util/xsec_xmlsec \
131 endif
132 endif
134 $(eval $(call gb_CppunitTest_add_old_components,sc_filters_test,\
135 embobj \
136 configmgr \
137 ucb1 \
138 ucpfile1 \
139 ucptdoc1 \
142 $(eval $(call gb_CppunitTest_set_args,sc_filters_test,\
143 --headless \
144 --protector unoexceptionprotector$(gb_Library_DLLEXT) unoexceptionprotector \
145 "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool)" \
147 # .../spool is required for the (somewhat strange) filter configuration
149 # we need to
150 # a) explicitly depend on library msword because it is not implied by a link
151 # relation
152 # b) explicitly depend on the sc resource files needed at unit-test runtime
153 $(call gb_CppunitTest_get_target,sc_filters_test) : $(call gb_Library_get_target,scfilt) $(WORKDIR)/AllLangRes/sc
155 # vim: set noet sw=4 ts=4: