...after a342b72f42 "gbuild: set
SAL_NON_APPLICATION_FONT_USE in gb_CppunitTest_use_more_fonts" had caused e.g.
CppunitTest_vcl_pdfexport to be executed with merely
SAL_NON_APPLICATION_FONT_USE=deny rather than the stronger
SAL_NON_APPLICATION_FONT_USE=abort that vcl/CppunitTest_vcl_pdfexport.mk asked
for.
So introduce a dedicated gb_CppunitTest_set_non_application_font_use that
accumulates the requested modes and then selects the strongest requested one
("allow" over "abort" over "deny"). That also means we can go back to model
"allow" with an unset SAL_NON_APPLICATION_FONT_USE env var.
Change-Id: I32ba0a94c1965f0e3336e676b17f4f5efb85efce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139251
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,vcl_pdfexport))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_pdfexport, \
|
|
vcl/qa/cppunit/pdfexport/pdfexport \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_pdfexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,vcl_pdfexport, \
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
test \
|
|
unotest \
|
|
utl \
|
|
tl \
|
|
vcl \
|
|
xmlsecurity \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,vcl_pdfexport, \
|
|
boost_headers \
|
|
$(if $(filter PDFIUM,$(BUILD_TYPE)),pdfium) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_pdfexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,vcl_pdfexport))
|
|
$(eval $(call gb_CppunitTest_use_vcl,vcl_pdfexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,vcl_pdfexport,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,vcl_pdfexport))
|
|
|
|
# assert if font/glyph fallback occurs
|
|
$(eval $(call gb_CppunitTest_set_non_application_font_use,vcl_pdfexport,abort))
|
|
|
|
$(eval $(call gb_CppunitTest_use_more_fonts,vcl_pdfexport))
|
|
|
|
# vim: set noet sw=4 ts=4:
|