compile- and run-time use of UNO must be split
There are unit tests that do not use URE, e.g., in cppuhelper.
This reverts commit 33e9f3d3d6
.
Conflicts:
sot/CppunitTest_sot_test_sot.mk
svl/CppunitTest_svl_urihelper.mk
This commit is contained in:
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,dbaccess_macros_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,dbaccess_macros_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,dbaccess_macros_test,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -61,6 +61,8 @@ $(eval $(call gb_CppunitTest_use_api,extensions_test_update,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,extensions_test_update))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,extensions_test_update,\
|
||||
configmgr/source/configmgr \
|
||||
extensions/source/update/feed/updatefeed \
|
||||
|
@@ -46,6 +46,8 @@ $(eval $(call gb_CppunitTest_use_api,filter_tga_test,\
|
||||
offapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,filter_tga_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,filter_tga_test,\
|
||||
configmgr/source/configmgr \
|
||||
))
|
||||
|
@@ -46,6 +46,8 @@ $(eval $(call gb_CppunitTest_use_api,filter_tiff_test,\
|
||||
offapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,filter_tiff_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,filter_tiff_test,\
|
||||
configmgr/source/configmgr \
|
||||
))
|
||||
|
@@ -50,6 +50,8 @@ $(eval $(call gb_CppunitTest_use_api,hwpfilter_test_hwpfilter,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,hwpfilter_test_hwpfilter))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,hwpfilter_test_hwpfilter,\
|
||||
configmgr/source/configmgr \
|
||||
hwpfilter/source/hwp \
|
||||
|
@@ -44,6 +44,8 @@ $(eval $(call gb_CppunitTest_add_exception_objects,i18npool_test_breakiterator,\
|
||||
i18npool/qa/cppunit/test_breakiterator \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,i18npool_test_breakiterator))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,i18npool_test_breakiterator,\
|
||||
i18npool/util/i18npool \
|
||||
))
|
||||
|
@@ -50,6 +50,8 @@ $(eval $(call gb_CppunitTest_use_api,lotuswordpro_test_lotuswordpro,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,lotuswordpro_test_lotuswordpro))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,lotuswordpro_test_lotuswordpro,\
|
||||
configmgr/source/configmgr \
|
||||
lotuswordpro/util/lwpfilter \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_cellrangesbase,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_cellrangesbase))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_cellrangesbase,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -80,6 +80,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_chart_regression_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_chart_regression_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_chart_regression_test,\
|
||||
basic/util/sb \
|
||||
chart2/source/controller/chartcontroller \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_databaserangeobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_databaserangeobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_databaserangeobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_datapilotfieldobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_datapilotfieldobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_datapilotfieldobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_datapilottableobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_datapilottableobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -80,6 +80,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_filters_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_filters_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_filters_test,\
|
||||
basic/util/sb \
|
||||
chart2/source/controller/chartcontroller \
|
||||
|
@@ -80,6 +80,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_macros_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_macros_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_macros_test,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_namedrangeobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_namedrangeobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_namedrangeobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_namedrangesobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_namedrangesobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_namedrangesobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -80,6 +80,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_subsequent_filters_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_subsequent_filters_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_subsequent_filters_test,\
|
||||
chart2/source/controller/chartcontroller \
|
||||
chart2/source/tools/charttools \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_tableautoformatfield,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_tableautoformatfield))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_tableautoformatfield,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_spreadsheetobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_spreadsheetobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_spreadsheetobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -83,6 +83,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_spreadsheetsobj,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_spreadsheetsobj))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_spreadsheetsobj,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -87,6 +87,8 @@ $(eval $(call gb_CppunitTest_use_api,sc_ucalc,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sc_ucalc))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sc_ucalc,\
|
||||
configmgr/source/configmgr \
|
||||
framework/util/fwk \
|
||||
|
@@ -78,6 +78,8 @@ $(eval $(call gb_CppunitTest_use_api,sd_filters_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sd_filters_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sd_filters_test,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -79,6 +79,8 @@ $(eval $(call gb_CppunitTest_use_api,sd_regression_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sd_regression_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sd_regression_test,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -76,6 +76,8 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\
|
||||
sd/qa/unit/uimpress \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sd_uimpress))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sd_uimpress,\
|
||||
configmgr/source/configmgr \
|
||||
framework/util/fwk \
|
||||
|
@@ -65,6 +65,8 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sdext_pdfimport,\
|
||||
sdext/source/pdfimport/test/tests \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sdext_pdfimport))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sdext_pdfimport,\
|
||||
comphelper/util/comphelp \
|
||||
configmgr/source/configmgr \
|
||||
|
@@ -146,7 +146,9 @@ $(call gb_CppunitTest_get_target,$(1)) : ARGS += $(2)
|
||||
endef
|
||||
|
||||
define gb_CppunitTest_uses_ure
|
||||
$$(call gb_Output_error,gb_CppunitTest_uses_ure: use gb_CppunitTest_use_api instead.))
|
||||
$(call gb_CppunitTest_use_rdb,$(1),ure/services)
|
||||
$(call gb_CppunitTest_get_target,$(1)) : URE := $(true)
|
||||
|
||||
endef
|
||||
|
||||
define gb_CppunitTest_add_type_rdb
|
||||
@@ -178,8 +180,6 @@ endef
|
||||
define gb_CppunitTest_use_api
|
||||
$(call gb_LinkTarget_use_api,$(call gb_CppunitTest__get_linktargetname,$(1)),$(2))
|
||||
$(foreach rdb,$(2),$(call gb_CppunitTest__use_api,$(1),$(rdb)))
|
||||
$(call gb_CppunitTest_use_rdb,$(1),ure/services)
|
||||
$(call gb_CppunitTest_get_target,$(1)) : URE := $(true)
|
||||
|
||||
endef
|
||||
|
||||
|
@@ -52,4 +52,6 @@ $(eval $(call gb_CppunitTest_use_api,sot_test_sot,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sot_test_sot))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
@@ -75,6 +75,8 @@ $(eval $(call gb_CppunitTest_add_exception_objects,starmath_qa_cppunit,\
|
||||
starmath/qa/cppunit/test_starmath \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,starmath_qa_cppunit))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,starmath_qa_cppunit,\
|
||||
configmgr/source/configmgr \
|
||||
framework/util/fwk \
|
||||
|
@@ -50,3 +50,5 @@ $(eval $(call gb_CppunitTest_use_libraries,svl_urihelper, \
|
||||
utl \
|
||||
$(gb_STDLIBS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,svl_urihelper))
|
||||
|
@@ -49,6 +49,8 @@ $(eval $(call gb_CppunitTest_use_api,svtools_filters_test,\
|
||||
offapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,svtools_filters_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,svtools_filters_test,\
|
||||
configmgr/source/configmgr \
|
||||
))
|
||||
|
@@ -71,6 +71,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_filters_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_filters_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_filters_test,\
|
||||
comphelper/util/comphelp \
|
||||
configmgr/source/configmgr \
|
||||
|
@@ -81,6 +81,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_layout_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_layout_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_layout_test,\
|
||||
comphelper/util/comphelp \
|
||||
configmgr/source/configmgr \
|
||||
|
@@ -82,6 +82,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_macros_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_macros_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_macros_test,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -82,6 +82,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_regression_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_regression_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_regression_test,\
|
||||
basic/util/sb \
|
||||
comphelper/util/comphelp \
|
||||
|
@@ -48,6 +48,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_subsequent_ooxmltok,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_subsequent_ooxmltok))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_subsequent_ooxmltok,\
|
||||
comphelper/util/comphelp \
|
||||
configmgr/source/configmgr \
|
||||
|
@@ -48,6 +48,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_subsequent_rtftok,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_subsequent_rtftok))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_subsequent_rtftok,\
|
||||
configmgr/source/configmgr \
|
||||
fileaccess/source/fileacc \
|
||||
|
@@ -85,6 +85,8 @@ $(eval $(call gb_CppunitTest_use_api,sw_swdoc_test,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,sw_swdoc_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sw_swdoc_test,\
|
||||
comphelper/util/comphelp \
|
||||
configmgr/source/configmgr \
|
||||
|
@@ -52,6 +52,8 @@ $(eval $(call gb_CppunitTest_use_api,writerfilter_rtftok,\
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_uses_ure,writerfilter_rtftok))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,writerfilter_rtftok,\
|
||||
configmgr/source/configmgr \
|
||||
ucb/source/core/ucb1 \
|
||||
|
Reference in New Issue
Block a user