Kaydet (Commit) 6d75afb7 authored tarafından Michael Stahl's avatar Michael Stahl

sw: replace long lists of components with services.rdb

This should be more maintainable.

Change-Id: I60ee68cd79f7a0627bcaf8fd34d3036124ea0f9e
Reviewed-on: https://gerrit.libreoffice.org/68914
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst 44a52437
......@@ -66,43 +66,6 @@ $(eval $(call gb_CppunitTest_use_ure,sw_apitests))
$(eval $(call gb_CppunitTest_use_vcl,sw_apitests))
$(eval $(call gb_CppunitTest_use_configuration,sw_apitests))
$(eval $(call gb_CppunitTest_use_components,sw_apitests,\
basic/util/sb \
embeddedobj/util/embobj \
comphelper/util/comphelp \
configmgr/source/configmgr \
dbaccess/util/dba \
filter/source/config/cache/filterconfig1 \
filter/source/storagefilterdetect/storagefd \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
i18npool/source/search/i18nsearch \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
scripting/source/basprov/basprov \
scripting/util/scriptframe \
sfx2/util/sfx \
sot/util/sot \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
sw/util/msword \
sw/util/sw \
sw/util/swd \
sw/util/vbaswobj \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
ucb/source/ucp/tdoc/ucptdoc1 \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
uui/util/uui \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_apitests,services))
# vim: set noet sw=4 ts=4:
......@@ -53,43 +53,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_filters_test,\
$(eval $(call gb_CppunitTest_use_ure,sw_filters_test))
$(eval $(call gb_CppunitTest_use_vcl,sw_filters_test))
$(eval $(call gb_CppunitTest_use_components,sw_filters_test,\
basic/util/sb \
comphelper/util/comphelp \
configmgr/source/configmgr \
dbaccess/util/dba \
embeddedobj/util/embobj \
emfio/emfio \
filter/source/config/cache/filterconfig1 \
filter/source/t602/t602filter \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svtools/util/svt \
sw/util/msword \
sw/util/sw \
sw/util/swd \
uui/util/uui \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
writerfilter/util/writerfilter \
$(if $(filter DESKTOP,$(BUILD_TYPE)),xmlhelp/util/ucpchelp1) \
vcl/vcl.common \
xmloff/source/transform/xof \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_filters_test,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_filters_test))
......
......@@ -65,46 +65,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_macros_test,\
$(eval $(call gb_CppunitTest_use_ure,sw_macros_test))
$(eval $(call gb_CppunitTest_use_vcl,sw_macros_test))
$(eval $(call gb_CppunitTest_use_components,sw_macros_test,\
basic/util/sb \
embeddedobj/util/embobj \
comphelper/util/comphelp \
configmgr/source/configmgr \
dbaccess/util/dba \
filter/source/config/cache/filterconfig1 \
filter/source/storagefilterdetect/storagefd \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
i18npool/source/search/i18nsearch \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
scripting/source/basprov/basprov \
scripting/util/scriptframe \
sfx2/util/sfx \
sot/util/sot \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
sw/util/msword \
sw/util/sw \
sw/util/swd \
sw/util/vbaswobj \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
ucb/source/ucp/tdoc/ucptdoc1 \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
uui/util/uui \
vcl/vcl.common \
xmloff/util/xo \
xmlsecurity/util/xsec_xmlsec \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_macros_test,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_macros_test))
......
......@@ -38,57 +38,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_mailmerge,\
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_components,sw_mailmerge, \
basic/util/sb \
comphelper/util/comphelp \
configmgr/source/configmgr \
connectivity/source/cpool/dbpool2 \
connectivity/source/drivers/calc/calc \
connectivity/source/drivers/writer/writer \
connectivity/source/manager/sdbc2 \
dbaccess/source/filter/xml/dbaxml \
dbaccess/util/dba \
embeddedobj/util/embobj \
filter/source/config/cache/filterconfig1 \
filter/source/odfflatxml/odfflatxml \
filter/source/storagefilterdetect/storagefd \
filter/source/xmlfilteradaptor/xmlfa \
filter/source/xmlfilterdetect/xmlfd \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
lingucomponent/source/languageguessing/guesslang \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sc/util/sc \
sc/util/scfilt \
sfx2/util/sfx \
sot/util/sot \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
sw/util/sw \
sw/util/swd \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
ucb/source/ucp/tdoc/ucptdoc1 \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
uui/util/uui \
vcl/vcl.common \
$(if $(filter-out MACOSX WNT,$(OS)), \
$(if $(DISABLE_GUI),, \
vcl/vcl.unx \
) \
) \
xmloff/util/xo \
xmlscript/util/xmlscript \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_mailmerge,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_mailmerge))
$(eval $(call gb_CppunitTest_use_ure,sw_mailmerge))
......
......@@ -52,44 +52,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_odfimport,\
$(eval $(call gb_CppunitTest_use_ure,sw_odfimport))
$(eval $(call gb_CppunitTest_use_vcl,sw_odfimport))
$(eval $(call gb_CppunitTest_use_components,sw_odfimport,\
basic/util/sb \
comphelper/util/comphelp \
configmgr/source/configmgr \
embeddedobj/util/embobj \
filter/source/config/cache/filterconfig1 \
filter/source/storagefilterdetect/storagefd \
filter/source/odfflatxml/odfflatxml \
filter/source/xmlfilterdetect/xmlfd \
filter/source/xmlfilteradaptor/xmlfa \
framework/util/fwk \
i18npool/util/i18npool \
lingucomponent/source/languageguessing/guesslang \
linguistic/source/lng \
package/util/package2 \
package/source/xstor/xstor \
sw/util/sw \
sw/util/swd \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
svl/source/fsstor/fsstorage \
svtools/util/svt \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
uui/util/uui \
$(if $(filter-out MACOSX WNT,$(OS)), \
$(if $(DISABLE_GUI),, \
vcl/vcl.unx \
) \
) \
$(if $(filter DESKTOP,$(BUILD_TYPE)),xmlhelp/util/ucpchelp1) \
vcl/vcl.common \
xmloff/util/xo \
svgio/svgio \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_odfimport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_odfimport))
......
......@@ -40,10 +40,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlencryption,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlencryption))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlencryption))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlencryption,\
$(sw_ooxmlexport_components) \
filter/source/storagefilterdetect/storagefd \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlencryption,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlencryption))
......
......@@ -64,46 +64,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlexport8,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport8,\
basic/util/sb \
chart2/source/controller/chartcontroller \
chart2/source/chartcore \
canvas/source/factory/canvasfactory \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
embeddedobj/util/embobj \
emfio/emfio \
filter/source/config/cache/filterconfig1 \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sw/util/sw \
sw/util/swd \
sw/util/msword \
sfx2/util/sfx \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
svx/util/svxcore \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
unoxml/source/rdf/unordf \
uui/util/uui \
vcl/vcl.common \
writerfilter/util/writerfilter \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlexport8,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport8))
......
......@@ -40,10 +40,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlfieldexport,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlfieldexport))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlfieldexport,\
$(sw_ooxmlexport_components) \
filter/source/storagefilterdetect/storagefd \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlfieldexport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlfieldexport))
......
......@@ -64,47 +64,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlimport,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlimport))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlimport))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\
basic/util/sb \
chart2/source/controller/chartcontroller \
chart2/source/chartcore \
canvas/source/factory/canvasfactory \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
embeddedobj/util/embobj \
emfio/emfio \
filter/source/config/cache/filterconfig1 \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sw/util/sw \
sw/util/swd \
sw/util/msword \
sfx2/util/sfx \
sot/util/sot \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
svx/util/svxcore \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
unoxml/source/rdf/unordf \
uui/util/uui \
vcl/vcl.common \
writerfilter/util/writerfilter \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlimport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport))
......
......@@ -65,47 +65,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlimport2,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlimport2))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlimport2))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport2,\
basic/util/sb \
chart2/source/controller/chartcontroller \
chart2/source/chartcore \
canvas/source/factory/canvasfactory \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
embeddedobj/util/embobj \
emfio/emfio \
filter/source/config/cache/filterconfig1 \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sw/util/sw \
sw/util/swd \
sw/util/msword \
sfx2/util/sfx \
sot/util/sot \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
svx/util/svxcore \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
unoxml/source/rdf/unordf \
uui/util/uui \
vcl/vcl.common \
writerfilter/util/writerfilter \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlimport2,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport2))
......
......@@ -40,9 +40,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmllinks,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmllinks))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmllinks))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmllinks,\
$(sw_ooxmlexport_components) \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmllinks,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmllinks))
......
......@@ -40,9 +40,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlw14export,\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlw14export))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlw14export))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlw14export,\
$(sw_ooxmlexport_components) \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlw14export,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlw14export))
......
......@@ -57,37 +57,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_rtfimport,\
$(eval $(call gb_CppunitTest_use_ure,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_vcl,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_components,sw_rtfimport,\
basic/util/sb \
canvas/source/factory/canvasfactory \
comphelper/util/comphelp \
configmgr/source/configmgr \
embeddedobj/util/embobj \
emfio/emfio \
filter/source/config/cache/filterconfig1 \
filter/source/storagefilterdetect/storagefd \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
package/util/package2 \
package/source/xstor/xstor \
sax/source/expatwrap/expwrap \
sw/util/sw \
sw/util/swd \
sfx2/util/sfx \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svtools/util/svt \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
uui/util/uui \
writerfilter/util/writerfilter \
vcl/vcl.common \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_rtfimport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_rtfimport))
......
......@@ -52,39 +52,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ww8export,\
$(eval $(call gb_CppunitTest_use_ure,sw_ww8export))
$(eval $(call gb_CppunitTest_use_vcl,sw_ww8export))
$(eval $(call gb_CppunitTest_use_components,sw_ww8export,\
basic/util/sb \
comphelper/util/comphelp \
configmgr/source/configmgr \
dbaccess/util/dba \
embeddedobj/util/embobj \
emfio/emfio \
filter/source/config/cache/filterconfig1 \
filter/source/storagefilterdetect/storagefd \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sw/util/msword \
sw/util/sw \
sw/util/swd \
sfx2/util/sfx \
svl/source/fsstor/fsstorage \
svtools/util/svt \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
unoxml/source/rdf/unordf \
uui/util/uui \
$(if $(filter DESKTOP,$(BUILD_TYPE)),xmlhelp/util/ucpchelp1) \
vcl/vcl.common \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ww8export,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ww8export))
......
......@@ -51,35 +51,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ww8import,\
$(eval $(call gb_CppunitTest_use_ure,sw_ww8import))
$(eval $(call gb_CppunitTest_use_vcl,sw_ww8import))
$(eval $(call gb_CppunitTest_use_components,sw_ww8import,\
basic/util/sb \
comphelper/util/comphelp \
configmgr/source/configmgr \
dbaccess/util/dba \
filter/source/config/cache/filterconfig1 \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
package/util/package2 \
package/source/xstor/xstor \
sw/util/msword \
sw/util/sw \
sw/util/swd \
sfx2/util/sfx \
svl/source/fsstor/fsstorage \
svtools/util/svt \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
ucb/source/ucp/tdoc/ucptdoc1 \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
uui/util/uui \
vcl/vcl.common \
$(if $(filter DESKTOP,$(BUILD_TYPE)),xmlhelp/util/ucpchelp1) \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ww8import,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ww8import))
......
......@@ -25,60 +25,6 @@ define sw_ooxmlexport_libraries
svxcore
endef
define sw_ooxmlexport_components
basic/util/sb \
canvas/source/factory/canvasfactory \
chart2/source/chartcore \
chart2/source/controller/chartcontroller \
comphelper/util/comphelp \
configmgr/source/configmgr \
dbaccess/util/dba \
drawinglayer/drawinglayer \
embeddedobj/util/embobj \
emfio/emfio \
$(if $(filter WNT,$(OS)), \
embeddedobj/source/msole/emboleobj.windows, \
embeddedobj/source/msole/emboleobj \
) \
filter/source/config/cache/filterconfig1 \
filter/source/odfflatxml/odfflatxml \
filter/source/xmlfilterdetect/xmlfd \
filter/source/xmlfilteradaptor/xmlfa \
forms/util/frm \
framework/util/fwk \
i18npool/util/i18npool \
linguistic/source/lng \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sc/util/sc \
sc/util/scd \
sc/util/scfilt \
sw/util/sw \
sw/util/swd \
sw/util/msword \
sfx2/util/sfx \
sot/util/sot \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
svx/util/svxcore \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
ucb/source/ucp/tdoc/ucptdoc1 \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
uui/util/uui \
vcl/vcl.common \
writerfilter/util/writerfilter \
xmloff/util/xo
endef
# template for ooxmlexport tests (there are several so that they can be run in parallel)
define sw_ooxmlexport_test
......@@ -113,10 +59,7 @@ $(eval $(call gb_CppunitTest_use_api,sw_ooxmlexport$(1),\
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport$(1)))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport$(1)))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport$(1),\
$(sw_ooxmlexport_components) \
filter/source/storagefilterdetect/storagefd \
))
$(eval $(call gb_CppunitTest_use_rdb,sw_ooxmlexport$(1),services))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport$(1)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment