use Helper_optional SCRIPTING for libs that don't exist if --disable-scripting

Change-Id: Iec65d6395b903e13f788fe8322b60aac5b974cd4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120125
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2021-08-06 16:59:37 +01:00
parent 245d73fa13
commit 26cfb57abf
34 changed files with 77 additions and 39 deletions

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_dump, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
xo \ xo \
sw \ sw \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_geometry, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_pivot_chart_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
xo \ xo \
sw \ sw \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_trendcalculators, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
xo \ xo \
sw \ sw \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_xshape, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
xo \ xo \
sw \ sw \
)) ))

View File

@@ -55,7 +55,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_export$(1), \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -55,7 +55,8 @@ $(eval $(call gb_CppunitTest_use_libraries,chart2_import$(1), \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -50,7 +50,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_anchor_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_bugfix_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -54,7 +54,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_cache_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_chart2dataprovider, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
$(gb_UWINAPI) \ $(gb_UWINAPI) \

View File

@@ -45,7 +45,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_chart_regression_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -50,7 +50,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_cond_format_merge, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_copypaste, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -49,7 +49,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_datapilotitemobj, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -49,7 +49,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_datapilottablesobj, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_dataprovider, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
$(gb_UWINAPI) \ $(gb_UWINAPI) \

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_datatransformation, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
$(gb_UWINAPI) \ $(gb_UWINAPI) \

View File

@@ -52,7 +52,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_macros_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -54,7 +54,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_mark_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -49,7 +49,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_namedrangeobj, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -48,7 +48,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_new_cond_format_api, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -62,7 +62,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_parallelism, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -49,7 +49,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_perfobj, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -54,7 +54,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_range_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -54,7 +54,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_rangelst_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -32,7 +32,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_tiledrendering, \
scui \ scui \
test \ test \
unotest \ unotest \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
tl \ tl \
utl \ utl \

View File

@@ -69,7 +69,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc$(1), \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -48,7 +48,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sccomp_swarmsolvertest,\
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
$(gb_UWINAPI) \ $(gb_UWINAPI) \

View File

@@ -53,7 +53,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_apitests, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -48,7 +48,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_macros_test, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xo \ xo \
)) ))

View File

@@ -56,7 +56,8 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_uwriter, \
ucbhelper \ ucbhelper \
unotest \ unotest \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
xmlreader \ xmlreader \
xo \ xo \

View File

@@ -56,7 +56,8 @@ $(eval $(call gb_Library_use_libraries,vbaswobj,\
tk \ tk \
tl \ tl \
utl \ utl \
vbahelper \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \ vcl \
)) ))

View File

@@ -43,10 +43,12 @@ fuzzer_externals = \
zlib \ zlib \
fuzzer_core_libraries = \ fuzzer_core_libraries = \
basctl \
avmedia \ avmedia \
basegfx \ basegfx \
basprov \ $(call gb_Helper_optional,SCRIPTING, \
basctl \
basprov \
) \
bib \ bib \
canvastools \ canvastools \
configmgr \ configmgr \
@@ -71,7 +73,8 @@ fuzzer_core_libraries = \
package2 \ package2 \
sax \ sax \
sb \ sb \
scriptframe \ $(call gb_Helper_optional,SCRIPTING, \
scriptframe) \
spell \ spell \
sfx \ sfx \
sofficeapp \ sofficeapp \
@@ -145,9 +148,11 @@ fuzzer_calc_libraries = \
pricing \ pricing \
scfilt \ scfilt \
scd \ scd \
vbaevents \ $(call gb_Helper_optional,SCRIPTING, \
vbahelper \ vbaevents \
vbaobj \ vbahelper \
vbaobj \
) \
sc \ sc \
for \ for \
forui \ forui \