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>
49 lines
1.4 KiB
Makefile
49 lines
1.4 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,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_epubexport, \
|
|
writerperfect/qa/unit/EPUBExportTest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,writerperfect_epubexport, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
subsequenttest \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
utl \
|
|
wpftwriter \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,writerperfect_epubexport,\
|
|
$(if $(ENABLE_WASM_STRIP_EPUB),,epubgen) \
|
|
libxml2 \
|
|
revenge \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,writerperfect_epubexport,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,writerperfect_epubexport))
|
|
$(eval $(call gb_CppunitTest_use_vcl,writerperfect_epubexport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,writerperfect_epubexport,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,writerperfect_epubexport))
|
|
|
|
# vim: set noet sw=4 ts=4:
|