Kaydet (Commit) 9e04ae0b authored tarafından Matúš Kukan's avatar Matúš Kukan

add more runtime deps on resource files for unit-tests

Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
üst 8bfe4796
......@@ -170,4 +170,8 @@ $(eval $(call gb_Library_add_asmobjects,sb,\
))
endif
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,sb)) :| \
$(call gb_AllLangResTarget_get_target,sb)
# vim: set noet sw=4 ts=4:
......@@ -213,4 +213,8 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/main/UndoGuard \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,chartcontroller)) :| \
$(call gb_AllLangResTarget_get_target,chartcontroller)
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,dbaccess_macros_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,dbaccess_macros_test))
# we need to
# - explicitly depend on the dbaccess resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,dbaccess_macros_test) : \
$(WORKDIR)/AllLangRes/dbaccess \
# vim: set noet sw=4 ts=4:
......@@ -156,4 +156,8 @@ $(eval $(call gb_Library_use_libraries,editeng,\
$(eval $(call gb_Library_use_external,editeng,icuuc))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,editeng)) :| \
$(call gb_AllLangResTarget_get_target,editeng)
# vim: set noet sw=4 ts=4:
......@@ -65,4 +65,8 @@ $(eval $(call gb_Library_add_exception_objects,for,\
formula/source/core/resource/core_resource \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,for)) :| \
$(call gb_AllLangResTarget_get_target,for)
# vim: set noet sw=4 ts=4:
......@@ -86,4 +86,8 @@ $(eval $(call gb_Library_add_exception_objects,fwe,\
framework/source/fwe/xml/xmlnamespaces \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,fwe)) :| \
$(call gb_AllLangResTarget_get_target,fwe)
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_annonationshapeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_annonationshapeobj))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_annonationshapeobj) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -125,9 +125,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_cellrangesbase))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_cellrangesbase))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_cellrangesbase) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -132,9 +132,4 @@ $(eval $(call gb_CppunitTest_use_unittest_configuration,sc_chart_regression_test
$(eval $(call gb_CppunitTest_use_external,sc_chart_regression_test,libxml2))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_chart_regression_test) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_databaserangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_databaserangeobj))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_databaserangeobj) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_datapilotfieldobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilotfieldobj))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_datapilotfieldobj) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_datapilottableobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_datapilottableobj))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_datapilottableobj) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_editfieldobj_cell))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_cell))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_editfieldobj_cell) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_editfieldobj_header))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_editfieldobj_header))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_editfieldobj_header) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -122,9 +122,4 @@ $(eval $(call gb_CppunitTest_use_configuration,sc_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_filters_test))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_filters_test) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -122,9 +122,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_macros_test))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_macros_test))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_macros_test) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_namedrangeobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangeobj))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_namedrangeobj) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_namedrangesobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_namedrangesobj))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_namedrangesobj) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -135,9 +135,4 @@ $(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_filters_test))
$(eval $(call gb_CppunitTest_use_filter_configuration,sc_subsequent_filters_test))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_subsequent_filters_test) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -124,9 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_tableautoformatfield))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_tableautoformatfield))
# we need to
# - explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_tableautoformatfield) : \
$(WORKDIR)/AllLangRes/sc \
# vim: set noet sw=4 ts=4:
......@@ -125,7 +125,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_spreadsheetobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_spreadsheetobj))
# we need to explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_spreadsheetobj) : $(WORKDIR)/AllLangRes/sc
# vim: set noet sw=4 ts=4:
......@@ -124,7 +124,4 @@ $(eval $(call gb_CppunitTest_use_filter_configuration,sc_spreadsheetsobj))
$(eval $(call gb_CppunitTest_use_unittest_configuration,sc_spreadsheetsobj))
# we need to explicitly depend on the sc resource files needed at unit-test runtime
$(call gb_CppunitTest_get_target,sc_spreadsheetsobj) : $(WORKDIR)/AllLangRes/sc
# vim: set noet sw=4 ts=4:
......@@ -37,12 +37,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc, \
$(eval $(call gb_CppunitTest_use_library_objects,sc_ucalc,sc))
$(call gb_CxxObject_get_target,sc/qa/unit/ucalc): \
$(WORKDIR)/AllLangRes/for \
$(WORKDIR)/AllLangRes/forui \
$(WORKDIR)/AllLangRes/frm \
$(WORKDIR)/AllLangRes/sc \
ifeq ($(ENABLE_TELEPATHY),TRUE)
$(eval $(call gb_CppunitTest_use_libraries,sc_ucalc,tubes))
endif
......
......@@ -577,4 +577,8 @@ $(eval $(call gb_SdiTarget_set_include,sc/sdi/scslots,\
$$(INCLUDE) \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,sc)) :| \
$(call gb_AllLangResTarget_get_target,sc)
# vim: set noet sw=4 ts=4:
......@@ -51,4 +51,8 @@ $(eval $(call gb_Library_add_exception_objects,analysis,\
scaddins/source/analysis/financial \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,analysis)) :| \
$(call gb_AllLangResTarget_get_target,analysis)
# vim: set noet sw=4 ts=4:
......@@ -48,4 +48,8 @@ $(eval $(call gb_Library_add_exception_objects,date,\
scaddins/source/datefunc/datefunc \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,date)) :| \
$(call gb_AllLangResTarget_get_target,date)
# vim: set noet sw=4 ts=4:
......@@ -301,4 +301,8 @@ $(eval $(call gb_Library_use_libraries,sfx,\
endif
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,sfx)) :| \
$(call gb_AllLangResTarget_get_target,sfx)
# vim: set noet sw=4 ts=4:
......@@ -41,8 +41,6 @@ $(eval $(call gb_CppunitTest_use_library_objects,starmath_qa_cppunit,\
sm \
))
$(call gb_CxxObject_get_target,starmath/qa/cppunit/test_starmath): $(WORKDIR)/AllLangRes/sm
$(eval $(call gb_CppunitTest_use_libraries,starmath_qa_cppunit,\
comphelper \
cppu \
......
......@@ -102,4 +102,8 @@ $(eval $(call gb_SdiTarget_set_include,starmath/sdi/smslots,\
$$(INCLUDE) \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,sm)) :| \
$(call gb_AllLangResTarget_get_target,sm)
# vim: set noet sw=4 ts=4:
......@@ -275,4 +275,9 @@ $(eval $(call gb_Library_use_libraries,svt,\
uuid \
))
endif
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,svt)) :| \
$(call gb_AllLangResTarget_get_target,svt)
# vim: set noet sw=4 ts=4:
......@@ -463,4 +463,8 @@ $(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\
-I$(SRCDIR)/svx/sdi \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,svxcore)) :| \
$(call gb_AllLangResTarget_get_target,svx)
# vim: set noet sw=4 ts=4:
......@@ -39,8 +39,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_filters_test, \
sw/qa/core/filters-test \
))
$(call gb_CxxObject_get_target,sw/qa/core/filters-test): $(WORKDIR)/AllLangRes/sw
$(eval $(call gb_CppunitTest_use_libraries,sw_filters_test, \
sw \
sfx \
......
......@@ -103,10 +103,4 @@ $(eval $(call gb_CppunitTest_use_components,sw_swdoc_test,\
$(eval $(call gb_CppunitTest_use_configuration,sw_swdoc_test))
# we need to explicitly depend on the sw resource files needed at unit-test
# runtime
$(call gb_CppunitTest_get_target,sw_swdoc_test) : \
$(WORKDIR)/AllLangRes/sw \
$(call gb_AllLangResTarget_get_target,sw) \
# vim: set noet sw=4 ts=4:
......@@ -747,4 +747,8 @@ $(eval $(call gb_SdiTarget_set_include,sw/sdi/swslots,\
$$(INCLUDE) \
))
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,sw)) :| \
$(call gb_AllLangResTarget_get_target,sw)
# vim: set noet sw=4 ts=4:
......@@ -690,4 +690,8 @@ $(eval $(call gb_Library_use_static_libraries,vcl,\
))
endif
# Runtime dependency for unit-tests
$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,vcl)) :| \
$(call gb_AllLangResTarget_get_target,vcl)
# 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