| Xisco Fauli | e8a7423b | 2024-11-20 14:50:12 +0100 | [diff] [blame] | 1 | # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- |
| 2 | #************************************************************************* |
| 3 | # |
| Michael Meeks | d037b81 | 2026-03-26 15:06:16 +0000 | [diff] [blame] | 4 | # This file is part of the Collabora Office project. |
| Xisco Fauli | e8a7423b | 2024-11-20 14:50:12 +0100 | [diff] [blame] | 5 | # |
| 6 | # This Source Code Form is subject to the terms of the Mozilla Public |
| 7 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 9 | # |
| 10 | #************************************************************************* |
| 11 | |
| 12 | $(eval $(call gb_CppunitTest_CppunitTest,sw_htmlexport2)) |
| 13 | |
| 14 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_htmlexport2)) |
| 15 | |
| 16 | $(eval $(call gb_CppunitTest_add_exception_objects,sw_htmlexport2, \ |
| 17 | sw/qa/extras/htmlexport/htmlexport2 \ |
| 18 | )) |
| 19 | |
| 20 | $(eval $(call gb_CppunitTest_use_libraries,sw_htmlexport2, \ |
| 21 | comphelper \ |
| 22 | cppu \ |
| 23 | cppuhelper \ |
| 24 | editeng \ |
| 25 | i18nlangtag \ |
| 26 | msfilter \ |
| 27 | sal \ |
| 28 | sfx \ |
| 29 | subsequenttest \ |
| 30 | sot \ |
| 31 | sw \ |
| 32 | swqahelper \ |
| 33 | svl \ |
| 34 | svt \ |
| 35 | test \ |
| 36 | tl \ |
| 37 | unotest \ |
| 38 | utl \ |
| 39 | vcl \ |
| 40 | )) |
| 41 | |
| 42 | $(eval $(call gb_CppunitTest_use_externals,sw_htmlexport2,\ |
| 43 | boost_headers \ |
| 44 | libxml2 \ |
| 45 | )) |
| 46 | |
| 47 | $(eval $(call gb_CppunitTest_set_include,sw_htmlexport2,\ |
| 48 | -I$(SRCDIR)/sw/inc \ |
| 49 | -I$(SRCDIR)/sw/source/core/inc \ |
| 50 | -I$(SRCDIR)/sw/source/uibase/inc \ |
| 51 | -I$(SRCDIR)/sw/qa/inc \ |
| 52 | $$(INCLUDE) \ |
| 53 | )) |
| 54 | |
| 55 | $(eval $(call gb_CppunitTest_use_api,sw_htmlexport2,\ |
| 56 | udkapi \ |
| 57 | offapi \ |
| 58 | oovbaapi \ |
| 59 | )) |
| 60 | |
| 61 | $(eval $(call gb_CppunitTest_use_ure,sw_htmlexport2)) |
| 62 | $(eval $(call gb_CppunitTest_use_vcl,sw_htmlexport2)) |
| 63 | |
| 64 | $(eval $(call gb_CppunitTest_use_custom_headers,sw_htmlexport2,\ |
| 65 | officecfg/registry \ |
| 66 | )) |
| 67 | |
| 68 | $(eval $(call gb_CppunitTest_use_rdb,sw_htmlexport2,services)) |
| 69 | |
| 70 | $(eval $(call gb_CppunitTest_use_configuration,sw_htmlexport2)) |
| 71 | |
| Noel Grandin | 776b96e | 2026-01-06 12:30:50 +0200 | [diff] [blame] | 72 | ifneq ($(filter MORE_FONTS,$(BUILD_TYPE)),) |
| 73 | $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_htmlexport2,abort)) |
| 74 | endif |
| 75 | |
| Xisco Fauli | e8a7423b | 2024-11-20 14:50:12 +0100 | [diff] [blame] | 76 | ifeq ($(OS),WNT) |
| 77 | # Initializing DocumentSignatureManager will require gpgme-w32spawn.exe in workdir/LinkTarget/Executable |
| 78 | # In fact, it is not even required to complete test successfully, but the dialog would stop execution |
| 79 | $(eval $(call gb_CppunitTest_use_packages,sw_htmlexport2,\ |
| 80 | $(call gb_Helper_optional,GPGMEPP,gpgmepp)\ |
| 81 | )) |
| 82 | endif |
| 83 | |
| 84 | # vim: set noet sw=4 ts=4: |