From f66ac2934303e789014741547a06c98ab5433ca0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 11 Nov 2011 10:01:19 +0100 Subject: Make .component files directly usable within UNO_SERVICES. * solenv/bin/createcomponent.xslt simply surrounds it output by . * solenv/gbuild/CppunitTest.mk got new functions gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors). * This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not work currently, as it catenates the input component files instead of passing them through packcomponents.xslt (which now takes care about the surrounding in the input). In the future, it will likely be combined with the recently added solenv/gbuild/ComponentsTarget.mk. --- sd/CppunitTest_sd_filters_test.mk | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) (limited to 'sd/CppunitTest_sd_filters_test.mk') diff --git a/sd/CppunitTest_sd_filters_test.mk b/sd/CppunitTest_sd_filters_test.mk index 193ef5c52dd4..b708aa9d3dc9 100644 --- a/sd/CppunitTest_sd_filters_test.mk +++ b/sd/CppunitTest_sd_filters_test.mk @@ -88,8 +88,37 @@ $(eval $(call gb_CppunitTest_add_type_rdbs,sd_filters_test,\ types \ )) -$(eval $(call gb_CppunitTest_add_service_rdbs,sd_filters_test,\ - sd_filters_test \ +$(eval $(call gb_CppunitTest_add_components,sd_filters_test,\ + basic/util/sb \ + comphelper/util/comphelp \ + dbaccess/util/dba \ + fileaccess/source/fileacc \ + filter/source/config/cache/filterconfig1 \ + forms/util/frm \ + framework/util/fwk \ + i18npool/util/i18npool \ + oox/util/oox \ + package/source/xstor/xstor \ + package/util/package2 \ + sax/source/expatwrap/expwrap \ + sax/source/fastparser/fastsax \ + sd/util/sd \ + sd/util/sdfilt \ + sfx2/util/sfx \ + sot/util/sot \ + toolkit/util/tk \ + unotools/util/utl \ + unoxml/source/rdf/unordf \ + unoxml/source/service/unoxml \ + xmlsecurity/util/xsec_fw \ + xmlsecurity/util/xmlsecurity \ +)) + +$(eval $(call gb_CppunitTest_add_old_components,sd_filters_test,\ + configmgr \ + ucb1 \ + ucpfile1 \ + ucptdoc1 \ )) $(eval $(call gb_CppunitTest_set_args,sd_filters_test,\ -- cgit