Kaydet (Commit) e1b51e7b authored tarafından Matúš Kukan's avatar Matúš Kukan Kaydeden (comit) Michael Stahl

gbuild: use .xcd configuration files from instdir

..instead of .xcu files in solver/*/xml/registry
when running unittests and gengal.

Change-Id: I390a6c531d653acca7ef3379c49fe65fcb8f3c2a
Reviewed-on: https://gerrit.libreoffice.org/6057Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst e8c8f02f
...@@ -2912,33 +2912,36 @@ $(call gb_Executable_add_runtime_dependencies,climaker,\ ...@@ -2912,33 +2912,36 @@ $(call gb_Executable_add_runtime_dependencies,climaker,\
) )
endef endef
# Better duplication with gb_Gallery__UNO_COMPONENTS than nothing. gb_Gallery__UNO_COMPONENTS := \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
fileaccess/source/fileacc \
framework/util/fwk \
i18npool/util/i18npool \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
svgio/svgio \
svx/util/svx \
svx/util/svxcore \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unoxml/source/service/unoxml
# This is used to determine what we need for 'build' platform. # This is used to determine what we need for 'build' platform.
define gb_Executable__register_gengal define gb_Executable__register_gengal
$(call gb_Executable_add_runtime_dependencies,gengal,\ $(call gb_Executable_add_runtime_dependencies,gengal,\
$(foreach component, \ $(foreach component,$(gb_Gallery__UNO_COMPONENTS) \
comphelper/util/comphelp \
configmgr/source/configmgr \
fileaccess/source/fileacc \
framework/util/fwk \
i18npool/util/i18npool \
package/source/xstor/xstor \
package/util/package2 \
sfx2/util/sfx \
svx/util/svx \
svx/util/svxcore \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unoxml/source/service/unoxml \
,$(call gb_ComponentTarget_get_target_for_build,$(component))) \ ,$(call gb_ComponentTarget_get_target_for_build,$(component))) \
$(call gb_AllLangResTarget_get_target,ofa) \ $(call gb_AllLangResTarget_get_target,ofa) \
$(call gb_Configuration_get_target,registry) \
$(call gb_Configuration_get_target,fcfg_langpack) \
$(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \ $(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \
$(if $(filter-out MACOSX WNT,$(OS_FOR_BUILD)),$(if $(ENABLE_HEADLESS),, \ $(if $(filter-out MACOSX WNT,$(OS_FOR_BUILD)),$(if $(ENABLE_HEADLESS),, \
$(call gb_Library_get_target,vclplug_svp) \ $(call gb_Library_get_target,vclplug_svp) \
)) \ )) \
$(call gb_Package_get_target_for_build,cppuhelper_unorc) \ $(call gb_Package_get_target_for_build,cppuhelper_unorc) \
$(call gb_Package_get_target_for_build,postprocess_registry) \
$(call gb_Rdb_get_target_for_build,ure/services) \ $(call gb_Rdb_get_target_for_build,ure/services) \
$(INSTROOT)/$(LIBO_URE_SHARE_FOLDER)/misc/services.rdb \ $(INSTROOT)/$(LIBO_URE_SHARE_FOLDER)/misc/services.rdb \
$(call gb_UnoApi_get_target,offapi) \ $(call gb_UnoApi_get_target,offapi) \
......
...@@ -112,8 +112,6 @@ $(eval $(call gb_CppunitTest_use_components,chart2_export,\ ...@@ -112,8 +112,6 @@ $(eval $(call gb_CppunitTest_use_components,chart2_export,\
$(eval $(call gb_CppunitTest_use_configuration,chart2_export)) $(eval $(call gb_CppunitTest_use_configuration,chart2_export))
$(eval $(call gb_CppunitTest_use_filter_configuration,chart2_export))
$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_export)) $(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_export))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -112,8 +112,6 @@ $(eval $(call gb_CppunitTest_use_components,chart2_import,\ ...@@ -112,8 +112,6 @@ $(eval $(call gb_CppunitTest_use_components,chart2_import,\
$(eval $(call gb_CppunitTest_use_configuration,chart2_import)) $(eval $(call gb_CppunitTest_use_configuration,chart2_import))
$(eval $(call gb_CppunitTest_use_filter_configuration,chart2_import))
$(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_import)) $(eval $(call gb_CppunitTest_use_unittest_configuration,chart2_import))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -65,8 +65,6 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_firebird_test,\ ...@@ -65,8 +65,6 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_firebird_test,\
$(eval $(call gb_CppunitTest_use_configuration,dbaccess_firebird_test)) $(eval $(call gb_CppunitTest_use_configuration,dbaccess_firebird_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_firebird_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_firebird_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_firebird_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -102,8 +102,6 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_macros_test,\ ...@@ -102,8 +102,6 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_macros_test,\
$(eval $(call gb_CppunitTest_use_configuration,dbaccess_macros_test)) $(eval $(call gb_CppunitTest_use_configuration,dbaccess_macros_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_macros_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_macros_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_macros_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationobj,\ ...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_annotationobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_annotationobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_annotationobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_annonationshapeobj,\ ...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_annonationshapeobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_annonationshapeobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_annonationshapeobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_annonationshapeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annonationshapeobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annonationshapeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationsobj,\ ...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_annotationsobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_annotationsobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_annotationsobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_annotationsobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationsobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annotationsobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_cellrangesbase,\ ...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_cellrangesbase,\
$(eval $(call gb_CppunitTest_use_configuration,sc_cellrangesbase)) $(eval $(call gb_CppunitTest_use_configuration,sc_cellrangesbase))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_cellrangesbase))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_cellrangesbase)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_cellrangesbase))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -109,8 +109,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_chart_regression_test,\ ...@@ -109,8 +109,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_chart_regression_test,\
$(eval $(call gb_CppunitTest_use_configuration,sc_chart_regression_test)) $(eval $(call gb_CppunitTest_use_configuration,sc_chart_regression_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_chart_regression_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_chart_regression_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_chart_regression_test))
$(eval $(call gb_CppunitTest_use_external,sc_chart_regression_test,libxml2)) $(eval $(call gb_CppunitTest_use_external,sc_chart_regression_test,libxml2))
......
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_databaserangeobj,\ ...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_databaserangeobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_databaserangeobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_databaserangeobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_databaserangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_databaserangeobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_databaserangeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilotfieldobj,\ ...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilotfieldobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_datapilotfieldobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_datapilotfieldobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_datapilotfieldobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilotfieldobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilotfieldobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\ ...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_datapilottableobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_datapilottableobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_datapilottableobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_datapilottableobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilottableobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilottableobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_cell,\ ...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_cell,\
$(eval $(call gb_CppunitTest_use_configuration,sc_editfieldobj_cell)) $(eval $(call gb_CppunitTest_use_configuration,sc_editfieldobj_cell))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_editfieldobj_cell))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_cell)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_cell))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_header,\ ...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_editfieldobj_header,\
$(eval $(call gb_CppunitTest_use_configuration,sc_editfieldobj_header)) $(eval $(call gb_CppunitTest_use_configuration,sc_editfieldobj_header))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_editfieldobj_header))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_header)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_header))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -116,6 +116,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_filters_test,\ ...@@ -116,6 +116,4 @@ $(eval $(call gb_CppunitTest_use_components,sc_filters_test,\
$(eval $(call gb_CppunitTest_use_configuration,sc_filters_test)) $(eval $(call gb_CppunitTest_use_configuration,sc_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_filters_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -112,8 +112,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_macros_test,\ ...@@ -112,8 +112,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_macros_test,\
$(eval $(call gb_CppunitTest_use_configuration,sc_macros_test)) $(eval $(call gb_CppunitTest_use_configuration,sc_macros_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_macros_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_macros_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_macros_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_modelobj,\ ...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_modelobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_modelobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_modelobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_modelobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_modelobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_modelobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangeobj,\ ...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangeobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_namedrangeobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_namedrangeobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_namedrangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangeobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangeobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangesobj,\ ...@@ -105,8 +105,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_namedrangesobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_namedrangesobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_namedrangesobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_namedrangesobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangesobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangesobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_outlineobj,\ ...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_outlineobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_outlineobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_outlineobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_outlineobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_outlineobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_outlineobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -125,8 +125,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_rangelst_test,\ ...@@ -125,8 +125,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_rangelst_test,\
$(eval $(call gb_CppunitTest_use_configuration,sc_rangelst_test)) $(eval $(call gb_CppunitTest_use_configuration,sc_rangelst_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_rangelst_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_rangelst_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_rangelst_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -121,6 +121,4 @@ endif ...@@ -121,6 +121,4 @@ endif
$(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_export_test)) $(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_export_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_subsequent_export_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -121,6 +121,4 @@ endif ...@@ -121,6 +121,4 @@ endif
$(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_filters_test)) $(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_subsequent_filters_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -102,8 +102,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_tableautoformatfield,\ ...@@ -102,8 +102,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_tableautoformatfield,\
$(eval $(call gb_CppunitTest_use_configuration,sc_tableautoformatfield)) $(eval $(call gb_CppunitTest_use_configuration,sc_tableautoformatfield))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_tableautoformatfield))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tableautoformatfield)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tableautoformatfield))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetobj,\ ...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_tablesheetobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_tablesheetobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_tablesheetobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetsobj,\ ...@@ -106,8 +106,6 @@ $(eval $(call gb_CppunitTest_use_components,sc_tablesheetsobj,\
$(eval $(call gb_CppunitTest_use_configuration,sc_tablesheetsobj)) $(eval $(call gb_CppunitTest_use_configuration,sc_tablesheetsobj))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_tablesheetsobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetsobj)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tablesheetsobj))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_filters_test,\ ...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_filters_test,\
$(eval $(call gb_CppunitTest_use_configuration,sd_filters_test)) $(eval $(call gb_CppunitTest_use_configuration,sd_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sd_filters_test))
$(call gb_CppunitTest_get_target,sd_filters_test) : $(call gb_AllLangResTarget_get_target,sd) $(call gb_CppunitTest_get_target,sd_filters_test) : $(call gb_AllLangResTarget_get_target,sd)
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_import_tests,\ ...@@ -108,8 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_import_tests,\
$(eval $(call gb_CppunitTest_use_configuration,sd_import_tests)) $(eval $(call gb_CppunitTest_use_configuration,sd_import_tests))
$(eval $(call gb_CppunitTest_use_filter_configuration,sd_import_tests))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sd_import_tests)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sd_import_tests))
$(eval $(call gb_CppunitTest_add_arguments,sd_import_tests,\ $(eval $(call gb_CppunitTest_add_arguments,sd_import_tests,\
......
...@@ -283,8 +283,8 @@ endef ...@@ -283,8 +283,8 @@ endef
# Use standard configuration. # Use standard configuration.
define gb_CppunitTest_use_configuration define gb_CppunitTest_use_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Configuration_get_target,registry) $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,postprocess_registry)
$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(gb_Configuration_registry)) $(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(INSTDIR)/$(LIBO_SHARE_FOLDER)/registry)
endef endef
...@@ -293,20 +293,6 @@ $(call gb_CppunitTest_get_target,$(1)) : HEADLESS= ...@@ -293,20 +293,6 @@ $(call gb_CppunitTest_get_target,$(1)) : HEADLESS=
endef endef
# Use configuration for filters.
#
# Okay, this is not exactly true, because there may be configuration
# for more things than just filters in spool, but it is good enough.
define gb_CppunitTest_use_filter_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Configuration_get_target,fcfg_langpack)
$(call gb_CppunitTest__use_configuration,$(1),module,$(gb_Configuration_registry)/spool)
endef
define gb_CppunitTest_use_extra_configuration
$$(call gb_Output_error,gb_CppunitTest_use_extra_configuration: use gb_CppunitTest_use_unittest_configuration instead.))
endef
# Use configuration in $(OUTDIR)/unittest/registry. # Use configuration in $(OUTDIR)/unittest/registry.
define gb_CppunitTest_use_unittest_configuration define gb_CppunitTest_use_unittest_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,test_unittest) $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,test_unittest)
......
...@@ -11,47 +11,17 @@ ...@@ -11,47 +11,17 @@
# Handles creation of image galleries. # Handles creation of image galleries.
gb_Gallery__UNO_COMPONENTS := \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
fileaccess/source/fileacc \
framework/util/fwk \
i18npool/util/i18npool \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
svgio/svgio \
svx/util/svx \
svx/util/svxcore \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unoxml/source/service/unoxml
gb_Gallery__UNO_TYPES := \
offapi \
udkapi
gb_Gallery_TRANSLATE := $(SOLARENV)/bin/desktop-translate.pl gb_Gallery_TRANSLATE := $(SOLARENV)/bin/desktop-translate.pl
# TODO: this should be in RepositoryExternal.mk, but it would lead to
# duplication. Fix.
gb_Gallery_EXTRA_DEPENCENCIES := \
$(foreach component,$(gb_Gallery__UNO_COMPONENTS),$(call gb_ComponentTarget_get_target_for_build,$(component))) \
$(foreach api,$(gb_Gallery__UNO_TYPES),$(call gb_UnoApi_get_target,$(api)))
gb_Gallery_INSTDIR := $(LIBO_SHARE_FOLDER)/gallery gb_Gallery_INSTDIR := $(LIBO_SHARE_FOLDER)/gallery
# BRAND_BASE_DIR is for resource files # BRAND_BASE_DIR is for resource files
define gb_Gallery__make_env_args define gb_Gallery__make_env_args
"-env:BRAND_BASE_DIR=$(call gb_Helper_make_url,$(OUTDIR_FOR_BUILD)/unittest/install)" \ "-env:BRAND_BASE_DIR=$(call gb_Helper_make_url,$(OUTDIR_FOR_BUILD)/unittest/install)" \
"-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_Helper_make_url,$(gb_Configuration_registry)) \ "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_Helper_make_url,$(INSTDIR)/$(LIBO_SHARE_FOLDER)/registry)" \
module:$(call gb_Helper_make_url,$(gb_Configuration_registry)/spool)" \
"-env:UNO_SERVICES=$(call gb_Helper_make_url,$(call gb_Rdb_get_target_for_build,ure/services)) \ "-env:UNO_SERVICES=$(call gb_Helper_make_url,$(call gb_Rdb_get_target_for_build,ure/services)) \
$(foreach item,$(gb_Gallery__UNO_COMPONENTS),\ $(foreach item,$(gb_Gallery__UNO_COMPONENTS),\
$(call gb_Helper_make_url,$(call gb_ComponentTarget_get_target_for_build,$(item))))" \ $(call gb_Helper_make_url,$(call gb_ComponentTarget_get_target_for_build,$(item))))" \
"-env:UNO_TYPES=$(foreach item,$(gb_Gallery__UNO_TYPES),\ "-env:UNO_TYPES=$(foreach item,offapi udkapi,\
$(call gb_Helper_make_url,$(call gb_UnoApi_get_target,$(item))))" \ $(call gb_Helper_make_url,$(call gb_UnoApi_get_target,$(item))))" \
-env:URE_INTERNAL_LIB_DIR=$(call gb_Helper_make_url,$(INSTROOT)/$(LIBO_URE_LIB_FOLDER)) \ -env:URE_INTERNAL_LIB_DIR=$(call gb_Helper_make_url,$(INSTROOT)/$(LIBO_URE_LIB_FOLDER)) \
-env:LO_LIB_DIR=$(call gb_Helper_make_url,$(INSTROOT)/$(LIBO_LIB_FOLDER)) -env:LO_LIB_DIR=$(call gb_Helper_make_url,$(INSTROOT)/$(LIBO_LIB_FOLDER))
...@@ -96,8 +66,7 @@ $(dir $(call gb_Gallery_get_target,$(1)))%/.dir : ...@@ -96,8 +66,7 @@ $(dir $(call gb_Gallery_get_target,$(1)))%/.dir :
$(if $(wildcard $(dir $@)),,mkdir -p $(dir $@)) $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@))
$(call gb_Gallery_get_target,%) : \ $(call gb_Gallery_get_target,%) : \
$(call gb_Executable_get_runtime_dependencies,gengal) \ $(call gb_Executable_get_runtime_dependencies,gengal)
$(gb_Gallery_EXTRA_DEPENCENCIES)
$(call gb_Gallery__command,$@,$*) $(call gb_Gallery__command,$@,$*)
$(call gb_Gallery__get_final_target,%) : $(call gb_Gallery__get_final_target,%) :
......
...@@ -87,6 +87,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_filters_test,\ ...@@ -87,6 +87,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_filters_test,\
$(eval $(call gb_CppunitTest_use_configuration,sw_filters_test)) $(eval $(call gb_CppunitTest_use_configuration,sw_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_filters_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_htmlexport,\ ...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_htmlexport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_htmlexport)) $(eval $(call gb_CppunitTest_use_configuration,sw_htmlexport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_htmlexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_htmlexport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_htmlexport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -99,8 +99,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_layout_test,\ ...@@ -99,8 +99,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_layout_test,\
$(eval $(call gb_CppunitTest_use_configuration,sw_layout_test)) $(eval $(call gb_CppunitTest_use_configuration,sw_layout_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_layout_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_layout_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_layout_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_macros_test,\ ...@@ -104,8 +104,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_macros_test,\
$(eval $(call gb_CppunitTest_use_configuration,sw_macros_test)) $(eval $(call gb_CppunitTest_use_configuration,sw_macros_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_macros_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_macros_test)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_macros_test))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfexport,\ ...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfexport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_odfexport)) $(eval $(call gb_CppunitTest_use_configuration,sw_odfexport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_odfexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfexport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfexport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfimport,\ ...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_odfimport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_odfimport)) $(eval $(call gb_CppunitTest_use_configuration,sw_odfimport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_odfimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfimport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_odfimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -83,8 +83,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport,\ ...@@ -83,8 +83,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport)) $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_ooxmlexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlexport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlexport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\ ...@@ -82,8 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport)) $(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_ooxmlimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlimport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -78,8 +78,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfexport,\ ...@@ -78,8 +78,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfexport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_rtfexport)) $(eval $(call gb_CppunitTest_use_configuration,sw_rtfexport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_rtfexport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfexport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfexport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -80,8 +80,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfimport,\ ...@@ -80,8 +80,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_rtfimport,\
$(eval $(call gb_CppunitTest_use_configuration,sw_rtfimport)) $(eval $(call gb_CppunitTest_use_configuration,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfimport)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_rtfimport))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -80,8 +80,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8export,\ ...@@ -80,8 +80,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8export,\
$(eval $(call gb_CppunitTest_use_configuration,sw_ww8export)) $(eval $(call gb_CppunitTest_use_configuration,sw_ww8export))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_ww8export))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8export)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8export))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -72,8 +72,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8import,\ ...@@ -72,8 +72,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8import,\
$(eval $(call gb_CppunitTest_use_configuration,sw_ww8import)) $(eval $(call gb_CppunitTest_use_configuration,sw_ww8import))
$(eval $(call gb_CppunitTest_use_filter_configuration,sw_ww8import))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8import)) $(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ww8import))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
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