2dde21ea74
Accessibility tests will require testing the normal UI, so will need not alter the search path for definitions. It will however benefit from other environmental overrides (locale, fonts, etc.). The solution here splits out to a separate registry the piece of configuration that alter the UI, so users can select the features set they need. The default gb_CppunitTest_use_configuration is updated to keep working the same as before, using both layers. gb_CppunitTest_use_unittest_configuration is replaced by specific ones for each configuration layer, and the two direct call sites removed as they were redundant anyway (gb_CppunitTest_use_unittest_configuration is only a subset of gb_CppunitTest_use_configuration). New macros are gb_CppunitTest_use_common_configuration for the common layer and gb_CppunitTest_use_user_ui_configuration for the UI one. Change-Id: I75f82092079752b4e173e48ab463636e7b7515b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136997 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
75 lines
1.8 KiB
Makefile
75 lines
1.8 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,sc_new_cond_format_api))
|
|
|
|
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_new_cond_format_api))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sc_new_cond_format_api, \
|
|
sc/qa/extras/new_cond_format \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,sc_new_cond_format_api,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sc_new_cond_format_api, \
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
drawinglayer \
|
|
drawinglayercore \
|
|
editeng \
|
|
for \
|
|
forui \
|
|
i18nlangtag \
|
|
msfilter \
|
|
oox \
|
|
sal \
|
|
salhelper \
|
|
sax \
|
|
sb \
|
|
sfx \
|
|
sot \
|
|
subsequenttest \
|
|
svl \
|
|
svt \
|
|
svx \
|
|
svxcore \
|
|
test \
|
|
tk \
|
|
tl \
|
|
ucbhelper \
|
|
unotest \
|
|
utl \
|
|
$(call gb_Helper_optional,SCRIPTING, \
|
|
vbahelper) \
|
|
vcl \
|
|
xo \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sc_new_cond_format_api,\
|
|
-I$(SRCDIR)/sc/source/ui/inc \
|
|
-I$(SRCDIR)/sc/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sc_new_cond_format_api))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sc_new_cond_format_api))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sc_new_cond_format_api))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,sc_new_cond_format_api,\
|
|
$(sc_unoapi_common_components) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sc_new_cond_format_api))
|
|
|
|
# vim: set noet sw=4 ts=4:
|