Change all font-based tests to depend on ooo_fonts
Instead of depending on individual font packages. Most didn't depend on fonts at all. Change-Id: I190295bbecb1b44aa34aaf0874afadd35b5daeb4 Reviewed-on: https://gerrit.libreoffice.org/61159 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
This commit is contained in:
@@ -82,4 +82,6 @@ $(eval $(call gb_CppunitTest_use_components,desktop_lib,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,desktop_lib))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,desktop_lib))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -123,4 +123,6 @@ $(eval $(call gb_CppunitTest_use_packages,sc_subsequent_export_test, \
|
||||
oox_generated \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,subsequent_export_test))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -130,4 +130,6 @@ $(eval $(call gb_CppunitTest_use_externals,sc_subsequent_filters_test,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,sc_subsequent_filters_test))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,subsequent_filters_test))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -373,6 +373,14 @@ $(call gb_CppunitTest_get_target,$(1)) : $(call gb_Executable_get_target,$(2))
|
||||
|
||||
endef
|
||||
|
||||
define gb_CppunitTest_use_more_fonts
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(call gb_CppunitTest_get_target,$(1)) : \
|
||||
$(foreach font,$(gb_Package_MODULE_ooo_fonts),$(call gb_Package_get_target,$(font)))
|
||||
endif
|
||||
|
||||
endef
|
||||
|
||||
define gb_CppunitTest_use_java_ure
|
||||
$(call gb_CppunitTest_get_target,$(1)) : JAVA_URE := $(true)
|
||||
$(call gb_CppunitTest_get_target,$(1)) : \
|
||||
|
||||
@@ -68,9 +68,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_layoutwriter, \
|
||||
$(call gb_CppunitTest_get_target,sw_layoutwriter): \
|
||||
$(call gb_Library_get_target,textconv_dict)
|
||||
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(call gb_CppunitTest_get_target,sw_layoutwriter): \
|
||||
$(call gb_ExternalPackage_get_target,fonts_liberation)
|
||||
endif
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_layoutwriter))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -64,9 +64,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_odfexport, \
|
||||
svx \
|
||||
))
|
||||
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(call gb_CppunitTest_get_target,sw_odfexport): \
|
||||
$(call gb_ExternalPackage_get_target,fonts_liberation)
|
||||
endif
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_odfexport))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -108,4 +108,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_ooxmlimport))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -95,4 +95,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_rtfimport,\
|
||||
modules/swriter \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_rtfimport))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -72,9 +72,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uiwriter, \
|
||||
$(call gb_CppunitTest_get_target,sw_uiwriter): \
|
||||
$(call gb_Library_get_target,textconv_dict)
|
||||
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(call gb_CppunitTest_get_target,sw_uiwriter): \
|
||||
$(call gb_ExternalPackage_get_target,fonts_liberation)
|
||||
endif
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_uiwriter))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -68,9 +68,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_unowriter, \
|
||||
$(call gb_CppunitTest_get_target,sw_unowriter): \
|
||||
$(call gb_Library_get_target,textconv_dict)
|
||||
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(call gb_CppunitTest_get_target,sw_unowriter): \
|
||||
$(call gb_ExternalPackage_get_target,fonts_liberation)
|
||||
endif
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_unowriter))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -88,4 +88,6 @@ $(eval $(call gb_CppunitTest_use_components,sw_ww8export,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,sw_ww8export))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_ww8export))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -133,6 +133,8 @@ $(eval $(call gb_CppunitTest_use_packages,sw_ooxmlexport$(1),\
|
||||
|
||||
$(call gb_CppunitTest_get_target,sw_ooxmlexport$(1)) : $(call gb_Library_get_target,iti)
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,sw_ooxmlexport$(1)))
|
||||
|
||||
endef
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -24,10 +24,6 @@ $(eval $(call gb_CppunitTest_use_externals,vcl_complextext,\
|
||||
harfbuzz \
|
||||
))
|
||||
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(eval $(call gb_CppunitTest_use_package,vcl_complextext,fonts_dejavu))
|
||||
endif
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_libraries,vcl_complextext, \
|
||||
comphelper \
|
||||
cppu \
|
||||
@@ -53,4 +49,6 @@ $(eval $(call gb_CppunitTest_use_components,vcl_complextext,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,vcl_complextext))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,vcl_complextext))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -20,11 +20,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,vcl_fontfeature, \
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_externals,vcl_fontfeature,boost_headers))
|
||||
|
||||
ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),)
|
||||
$(call gb_CppunitTest_get_target,vcl_fontfeature): \
|
||||
$(call gb_ExternalPackage_get_target,fonts_libertineg)
|
||||
endif
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_libraries,vcl_fontfeature, \
|
||||
comphelper \
|
||||
cppu \
|
||||
@@ -51,4 +46,6 @@ $(eval $(call gb_CppunitTest_use_components,vcl_fontfeature,\
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,vcl_fontfeature))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,vcl_fontfeature))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
@@ -42,4 +42,6 @@ $(eval $(call gb_CppunitTest_use_rdb,vcl_pdfexport,services))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_configuration,vcl_pdfexport))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_more_fonts,vcl_pdfexport))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
||||
Reference in New Issue
Block a user