tdf#154546 skip dispatch when presenter controller is not set
[LibreOffice.git] / sc / Module_sc.mk
blob7531130809e82f77ede45c5ab46994aa75d0fe52
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
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/.
11 include $(SRCDIR)/sc/common_unoapi_tests.mk
12 include $(SRCDIR)/sc/functions_setup.mk
13 include $(SRCDIR)/sc/ucalc_setup.mk
14 include $(SRCDIR)/sc/subsequent_setup.mk
16 $(eval $(call gb_Module_Module,sc))
18 $(eval $(call gb_Module_add_targets,sc,\
19 Library_sc \
20 Library_scd \
21 Library_scfilt \
22 Library_scui \
23 $(call gb_Helper_optional,OPENCL,Package_opencl) \
24 Package_res_xml \
25 UIConfig_scalc \
28 $(eval $(call gb_Module_add_l10n_targets,sc,\
29 AllLangMoTarget_sc \
32 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
34 $(eval $(call gb_Module_add_targets,sc,\
35 Library_vbaobj \
38 endif
40 ifneq ($(OS),iOS)
41 ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
42 $(eval $(call gb_Module_add_check_targets,sc,\
43 Library_scqahelper \
44 $(if $(and $(filter $(COM),MSC),$(MERGELIBS)),, \
45 CppunitTest_sc_ucalc) \
46 CppunitTest_sc_ucalc_condformat \
47 CppunitTest_sc_ucalc_copypaste \
48 CppunitTest_sc_ucalc_datatransformation \
49 CppunitTest_sc_ucalc_formula \
50 CppunitTest_sc_ucalc_formula2 \
51 CppunitTest_sc_ucalc_parallelism \
52 CppunitTest_sc_ucalc_pivottable \
53 CppunitTest_sc_ucalc_rangelst \
54 CppunitTest_sc_ucalc_range \
55 CppunitTest_sc_ucalc_sharedformula \
56 CppunitTest_sc_ucalc_sparkline \
57 CppunitTest_sc_ucalc_solver \
58 CppunitTest_sc_ucalc_sort \
59 CppunitTest_sc_filters_test \
60 CppunitTest_sc_mark_test \
61 CppunitTest_sc_core \
62 CppunitTest_sc_dataprovider \
63 CppunitTest_sc_cache_test \
64 CppunitTest_sc_shapetest \
66 endif
68 ifneq ($(DISABLE_GUI),TRUE)
69 ifeq ($(OS),LINUX)
70 $(eval $(call gb_Module_add_check_targets,sc,\
71 CppunitTest_sc_tiledrendering \
73 endif
74 endif
76 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
77 CppunitTest_sc_anchor_test \
78 CppunitTest_sc_cond_format_merge \
79 CppunitTest_sc_copypaste \
80 CppunitTest_sc_html_export_test \
81 CppunitTest_sc_macros_test \
82 CppunitTest_sc_new_cond_format_api \
83 CppunitTest_sc_pdf_export \
84 CppunitTest_sc_pivottable_filters_test \
85 CppunitTest_sc_sparkline_test \
86 CppunitTest_sc_subsequent_filters_test \
87 CppunitTest_sc_subsequent_filters_test2 \
88 CppunitTest_sc_subsequent_filters_test3 \
89 CppunitTest_sc_subsequent_filters_test4 \
90 CppunitTest_sc_subsequent_export_test \
91 CppunitTest_sc_subsequent_export_test2 \
92 CppunitTest_sc_subsequent_export_test3 \
93 CppunitTest_sc_subsequent_export_test4 \
94 CppunitTest_sc_uicalc \
95 CppunitTest_sc_uicalc2 \
96 CppunitTest_sc_vba_macro_test \
97 CppunitTest_sc_a11y \
100 ifneq ($(ENABLE_JUMBO_SHEETS),)
101 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
102 CppunitTest_sc_jumbosheets_test \
104 endif
106 # Various function tests fail in 32-bit linux_x86 build due to dreaded floating
107 # point weirdness (x87, registers, compiler optimization, ... whatever),
108 # disable them until someone finds a real cure.
110 ifneq ($(PLATFORMID),linux_x86)
111 $(eval $(call gb_Module_add_slowcheck_targets,sc, \
112 CppunitTest_sc_functions_test_old \
113 CppunitTest_sc_database_functions_test \
114 CppunitTest_sc_array_functions_test \
115 CppunitTest_sc_addin_functions_test \
116 CppunitTest_sc_datetime_functions_test \
117 CppunitTest_sc_financial_functions_test \
118 CppunitTest_sc_information_functions_test \
119 CppunitTest_sc_logical_functions_test \
120 CppunitTest_sc_mathematical_functions_test \
121 CppunitTest_sc_spreadsheet_functions_test \
122 CppunitTest_sc_statistical_functions_test \
123 CppunitTest_sc_text_functions_test \
125 endif
127 $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
128 JunitTest_sc_complex \
129 JunitTest_sc_unoapi_1 \
130 JunitTest_sc_unoapi_2 \
131 JunitTest_sc_unoapi_3 \
132 JunitTest_sc_unoapi_4 \
133 JunitTest_sc_unoapi_6 \
134 JunitTest_sc_unoapi_7 \
135 CppunitTest_sc_annotationobj \
136 CppunitTest_sc_annotationshapeobj \
137 CppunitTest_sc_annotationsobj \
138 CppunitTest_sc_arealinkobj \
139 CppunitTest_sc_arealinksobj \
140 CppunitTest_sc_autoformatobj \
141 CppunitTest_sc_autoformatsobj \
142 CppunitTest_sc_cellcursorobj \
143 CppunitTest_sc_cellfieldsobj \
144 CppunitTest_sc_cellformatsenumeration \
145 CppunitTest_sc_cellformatsobj \
146 CppunitTest_sc_cellobj \
147 CppunitTest_sc_cellrangeobj \
148 CppunitTest_sc_cellrangesobj \
149 CppunitTest_sc_cellsearchobj \
150 CppunitTest_sc_cellsenumeration \
151 CppunitTest_sc_cellsobj \
152 CppunitTest_sc_chart2dataprovider \
153 CppunitTest_sc_chartobj \
154 CppunitTest_sc_chartsobj \
155 CppunitTest_sc_check_data_pilot_field \
156 CppunitTest_sc_check_data_pilot_table \
157 CppunitTest_sc_check_xcell_ranges_query \
158 CppunitTest_sc_consolidationdescriptorobj \
159 $(if $(filter-out $(OS),iOS), \
160 CppunitTest_sc_databaserangeobj) \
161 CppunitTest_sc_databaserangesobj \
162 CppunitTest_sc_datapilotfieldgroupitemobj \
163 CppunitTest_sc_datapilotfieldgroupobj \
164 CppunitTest_sc_datapilotfieldgroupsobj \
165 CppunitTest_sc_datapilotfieldobj \
166 CppunitTest_sc_datapilotfieldsobj \
167 CppunitTest_sc_datapilotitemobj \
168 CppunitTest_sc_datapilotitemsobj \
169 CppunitTest_sc_datapilottableobj \
170 CppunitTest_sc_datapilottablesobj \
171 CppunitTest_sc_ddelinkobj \
172 CppunitTest_sc_ddelinksobj \
173 CppunitTest_sc_documentconfigurationobj \
174 CppunitTest_sc_drawpageobj \
175 CppunitTest_sc_drawpagesobj \
176 CppunitTest_sc_editfieldobj_cell \
177 CppunitTest_sc_editfieldobj_header \
178 CppunitTest_sc_filterdescriptorbase \
179 CppunitTest_sc_functiondescriptionobj \
180 CppunitTest_sc_functionlistobj \
181 CppunitTest_sc_headerfieldsobj \
182 CppunitTest_sc_headerfootercontentobj \
183 CppunitTest_sc_indexenumeration_cellannotationsenumeration \
184 CppunitTest_sc_indexenumeration_cellarealinksenumeration \
185 CppunitTest_sc_indexenumeration_databaserangesenumeration \
186 CppunitTest_sc_indexenumeration_datapilotfieldsenumeration \
187 CppunitTest_sc_indexenumeration_datapilotitemsenumeration \
188 CppunitTest_sc_indexenumeration_datapilottablesenumeration \
189 CppunitTest_sc_indexenumeration_ddelinksenumeration \
190 CppunitTest_sc_indexenumeration_functiondescriptionenumeration \
191 CppunitTest_sc_indexenumeration_labelrangesenumeration \
192 CppunitTest_sc_indexenumeration_namedrangesenumeration \
193 CppunitTest_sc_indexenumeration_scenariosenumeration \
194 CppunitTest_sc_indexenumeration_sheetcellrangesenumeration \
195 CppunitTest_sc_indexenumeration_sheetlinksenumeration \
196 CppunitTest_sc_indexenumeration_spreadsheetsenumeration \
197 CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration \
198 CppunitTest_sc_indexenumeration_subtotalfieldsenumeration \
199 CppunitTest_sc_indexenumeration_tableautoformatenumeration \
200 CppunitTest_sc_indexenumeration_tablechartsenumeration \
201 CppunitTest_sc_indexenumeration_tablecolumnsenumeration \
202 CppunitTest_sc_indexenumeration_tableconditionalentryenumeration \
203 CppunitTest_sc_indexenumeration_tablerowsenumeration \
204 CppunitTest_sc_indexenumeration_textfieldenumeration \
205 CppunitTest_sc_importdescriptorbaseobj \
206 CppunitTest_sc_labelrangeobj \
207 CppunitTest_sc_labelrangesobj \
208 CppunitTest_sc_modelobj \
209 CppunitTest_sc_namedrangeobj \
210 CppunitTest_sc_namedrangesobj \
211 CppunitTest_sc_opencl-1 \
212 CppunitTest_sc_opencl-2 \
213 CppunitTest_sc_outlineobj \
214 CppunitTest_sc_recentfunctionsobj \
215 CppunitTest_sc_recordchanges \
216 CppunitTest_sc_scenariosobj \
217 CppunitTest_sc_shapeobj \
218 CppunitTest_sc_sheetlinkobj \
219 CppunitTest_sc_sheetlinksobj \
220 CppunitTest_sc_sortdescriptorbaseobj \
221 CppunitTest_sc_spreadsheetsettings \
222 CppunitTest_sc_spreadsheetsettingsobj \
223 CppunitTest_sc_styleobj \
224 CppunitTest_sc_stylefamiliesobj \
225 CppunitTest_sc_stylefamilyobj \
226 CppunitTest_sc_subtotaldescriptorbase \
227 CppunitTest_sc_subtotalfieldobj \
228 CppunitTest_sc_tablecolumnobj \
229 CppunitTest_sc_tablecolumnsobj \
230 CppunitTest_sc_tableconditionalentryobj \
231 CppunitTest_sc_tableconditionalformat \
232 CppunitTest_sc_tablerowobj \
233 CppunitTest_sc_tablerowsobj \
234 CppunitTest_sc_tablesheetobj \
235 CppunitTest_sc_tablesheetsobj \
236 CppunitTest_sc_tablevalidationobj \
237 CppunitTest_sc_tabviewobj \
238 CppunitTest_sc_uniquecellformatsenumeration \
239 CppunitTest_sc_uniquecellformatsobj \
240 CppunitTest_sc_viewpaneobj \
243 $(eval $(call gb_Module_add_perfcheck_targets,sc,\
244 CppunitTest_sc_perfobj \
245 CppunitTest_sc_tablesheetobj \
248 $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\
249 PythonTest_sc_python \
252 # screenshots
253 $(eval $(call gb_Module_add_screenshot_targets,sc,\
254 CppunitTest_sc_screenshots \
257 $(eval $(call gb_Module_add_uicheck_targets,sc,\
258 UITest_conditional_format \
259 UITest_range_name \
260 UITest_autofilter \
261 UITest_autofilter2 \
262 UITest_search_replace \
263 UITest_calc_tests \
264 UITest_calc_tests2 \
265 UITest_calc_tests3 \
266 UITest_calc_tests4 \
267 UITest_calc_tests6 \
268 UITest_csv_dialog \
269 UITest_external_links \
270 UITest_statistics \
271 UITest_solver \
272 UITest_goalSeek \
273 UITest_protect \
274 UITest_sc_options \
275 UITest_validity \
276 UITest_key_f4 \
277 UITest_textCase \
278 UITest_textToColumns \
279 UITest_signatureLine \
280 UITest_inputLine \
281 UITest_calc_tests7 \
282 UITest_sort \
283 UITest_chart \
284 UITest_chart2 \
285 UITest_pageFormat \
286 UITest_pasteSpecial \
287 UITest_calc_tests8 \
288 UITest_calc_dialogs \
289 UITest_calc_tests9 \
290 UITest_function_wizard \
291 UITest_manual_tests \
293 endif
295 # vim: set noet sw=4 ts=4: