a3d758d528
...by e.g. executing generated Wasm code with node. This requires check targets to not be skipped unconditionally, unlike for other CROSS_COMPILING builds, so introduce gb_CAN_EXECUTE_HOST_CODE to distinguish these cases. Which revealed that some CppunitTest targets unconditionally used artefacts that are covered by some ENABLE_WASM_STRIP_*, so made those uses conditional accordingly (even though the resulting binaries might actually be dysfunctional, lacking relevant parts; we'll fix that if and when we actually build and run them). Change-Id: I7144eeb908ede25358a3c8186198ac532de4d9f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166931 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
57 lines
1.5 KiB
Makefile
57 lines
1.5 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,drawinglayer_processors))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,drawinglayer_processors,\
|
|
offapi \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,drawinglayer_processors, \
|
|
basegfx \
|
|
$(if $(ENABLE_WASM_STRIP_CANVAS),,cppcanvas) \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
salhelper \
|
|
drawinglayer \
|
|
drawinglayercore \
|
|
vcl \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
svt \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,drawinglayer_processors,\
|
|
boost_headers \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,drawinglayer_processors, \
|
|
drawinglayer/qa/unit/vclmetafileprocessor2d \
|
|
drawinglayer/qa/unit/vclpixelprocessor2d \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,drawinglayer_processors))
|
|
|
|
$(eval $(call gb_CppunitTest_use_vcl,drawinglayer_processors))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,drawinglayer_processors,\
|
|
canvas/source/vcl/vclcanvas \
|
|
canvas/source/factory/canvasfactory \
|
|
configmgr/source/configmgr \
|
|
i18npool/util/i18npool \
|
|
ucb/source/core/ucb1 \
|
|
ucb/source/ucp/file/ucpfile1 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,drawinglayer_processors))
|
|
|
|
# vim: set noet sw=4 ts=4:
|