| Xisco Fauli | 7b6bba3 | 2021-10-27 13:27:27 +0200 | [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 | 7b6bba3 | 2021-10-27 13:27:27 +0200 | [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 | # template for import tests |
| 13 | define sd_import_test |
| 14 | |
| 15 | $(eval $(call gb_CppunitTest_CppunitTest,sd_import_tests$(1))) |
| 16 | |
| 17 | $(eval $(call gb_CppunitTest_use_externals,sd_import_tests$(1),\ |
| 18 | boost_headers \ |
| 19 | libxml2 \ |
| 20 | )) |
| 21 | |
| 22 | $(eval $(call gb_CppunitTest_use_common_precompiled_header,sd_import_tests$(1))) |
| 23 | |
| 24 | $(eval $(call gb_CppunitTest_add_exception_objects,sd_import_tests$(1), \ |
| 25 | sd/qa/unit/import-tests$(1) \ |
| 26 | )) |
| 27 | |
| 28 | $(eval $(call gb_CppunitTest_use_libraries,sd_import_tests$(1), \ |
| 29 | $(call gb_Helper_optional,AVMEDIA,avmedia) \ |
| 30 | basegfx \ |
| 31 | comphelper \ |
| 32 | cppu \ |
| 33 | cppuhelper \ |
| 34 | drawinglayer \ |
| 35 | editeng \ |
| 36 | for \ |
| 37 | forui \ |
| 38 | i18nlangtag \ |
| 39 | msfilter \ |
| 40 | oox \ |
| 41 | sal \ |
| 42 | salhelper \ |
| 43 | sax \ |
| 44 | sd \ |
| 45 | sfx \ |
| 46 | sot \ |
| Xisco Fauli | a4c8658 | 2022-10-31 11:33:56 +0100 | [diff] [blame] | 47 | subsequenttest \ |
| Xisco Fauli | 7b6bba3 | 2021-10-27 13:27:27 +0200 | [diff] [blame] | 48 | svl \ |
| 49 | svt \ |
| 50 | svx \ |
| 51 | svxcore \ |
| 52 | test \ |
| 53 | tl \ |
| 54 | tk \ |
| 55 | ucbhelper \ |
| 56 | unotest \ |
| 57 | utl \ |
| 58 | vcl \ |
| 59 | xo \ |
| 60 | )) |
| 61 | |
| 62 | $(eval $(call gb_CppunitTest_set_include,sd_import_tests$(1),\ |
| 63 | -I$(SRCDIR)/sd/source/ui/inc \ |
| 64 | -I$(SRCDIR)/sd/inc \ |
| 65 | $$(INCLUDE) \ |
| 66 | )) |
| 67 | |
| 68 | $(eval $(call gb_CppunitTest_use_sdk_api,sd_import_tests$(1))) |
| 69 | |
| 70 | $(eval $(call gb_CppunitTest_use_ure,sd_import_tests$(1))) |
| 71 | $(eval $(call gb_CppunitTest_use_vcl,sd_import_tests$(1))) |
| 72 | |
| 73 | $(eval $(call gb_CppunitTest_use_components,sd_import_tests$(1),\ |
| 74 | animations/source/animcore/animcore \ |
| 75 | basic/util/sb \ |
| Noel Grandin | e09f212 | 2025-03-29 09:21:16 +0200 | [diff] [blame] | 76 | chart2/source/chart2 \ |
| Xisco Fauli | 7b6bba3 | 2021-10-27 13:27:27 +0200 | [diff] [blame] | 77 | comphelper/util/comphelp \ |
| 78 | configmgr/source/configmgr \ |
| 79 | dbaccess/util/dba \ |
| 80 | desktop/source/deployment/deployment \ |
| 81 | drawinglayer/drawinglayer \ |
| 82 | embeddedobj/util/embobj \ |
| 83 | emfio/emfio \ |
| 84 | filter/source/config/cache/filterconfig1 \ |
| 85 | filter/source/odfflatxml/odfflatxml \ |
| 86 | filter/source/svg/svgfilter \ |
| 87 | filter/source/pdf/pdffilter \ |
| 88 | filter/source/xmlfilteradaptor/xmlfa \ |
| 89 | filter/source/xmlfilterdetect/xmlfd \ |
| 90 | filter/source/storagefilterdetect/storagefd \ |
| 91 | forms/util/frm \ |
| 92 | framework/util/fwk \ |
| 93 | i18npool/util/i18npool \ |
| 94 | linguistic/source/lng \ |
| 95 | oox/util/oox \ |
| 96 | package/source/xstor/xstor \ |
| 97 | package/util/package2 \ |
| 98 | sax/source/expatwrap/expwrap \ |
| 99 | sd/util/sd \ |
| Xisco Fauli | 7b6bba3 | 2021-10-27 13:27:27 +0200 | [diff] [blame] | 100 | sd/util/sdd \ |
| 101 | $(if $(ENABLE_POPPLER),sdext/source/pdfimport/pdfimport) \ |
| 102 | sfx2/util/sfx \ |
| 103 | sot/util/sot \ |
| 104 | svl/source/fsstor/fsstorage \ |
| 105 | svtools/util/svt \ |
| 106 | svx/util/svxcore \ |
| Noel Grandin | 327a351 | 2025-09-25 12:47:29 +0200 | [diff] [blame] | 107 | svx/util/svx \ |
| Xisco Fauli | 7b6bba3 | 2021-10-27 13:27:27 +0200 | [diff] [blame] | 108 | svgio/svgio \ |
| 109 | toolkit/util/tk \ |
| 110 | ucb/source/core/ucb1 \ |
| 111 | ucb/source/ucp/expand/ucpexpand1 \ |
| 112 | ucb/source/ucp/file/ucpfile1 \ |
| 113 | ucb/source/ucp/package/ucppkg1 \ |
| 114 | ucb/source/ucp/tdoc/ucptdoc1 \ |
| 115 | unotools/util/utl \ |
| 116 | unoxml/source/rdf/unordf \ |
| 117 | unoxml/source/service/unoxml \ |
| 118 | uui/util/uui \ |
| 119 | vcl/vcl.common \ |
| 120 | xmlscript/util/xmlscript \ |
| 121 | xmloff/util/xo \ |
| 122 | xmlsecurity/util/xmlsecurity \ |
| 123 | )) |
| 124 | |
| 125 | $(eval $(call gb_CppunitTest_use_configuration,sd_import_tests$(1))) |
| 126 | |
| 127 | $(eval $(call gb_CppunitTest_use_packages,sd_import_tests$(1),\ |
| 128 | oox_customshapes \ |
| 129 | )) |
| 130 | |
| 131 | ifneq ($(ENABLE_POPPLER),) |
| 132 | $(eval $(call gb_CppunitTest_use_executable,sd_import_tests$(1),xpdfimport)) |
| 133 | endif |
| 134 | |
| 135 | $(eval $(call gb_CppunitTest_add_arguments,sd_import_tests$(1), \ |
| 136 | -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \ |
| 137 | )) |
| 138 | |
| 139 | endef |
| 140 | |
| 141 | # vim: set noet sw=4 ts=4: |