Avoid potential negative array index access to cached text.
[LibreOffice.git] / xmlsecurity / CppunitTest_xmlsecurity_pdfsigning.mk
blob667acc97e3e1c2e28d4774ec0054e6d40d78f875
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # This file is part of the LibreOffice project.
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/.
10 #*************************************************************************
12 $(eval $(call gb_CppunitTest_CppunitTest,xmlsecurity_pdfsigning))
14 $(eval $(call gb_CppunitTest_add_exception_objects,xmlsecurity_pdfsigning, \
15 xmlsecurity/qa/unit/pdfsigning/pdfsigning \
18 $(eval $(call gb_CppunitTest_use_libraries,xmlsecurity_pdfsigning, \
19 comphelper \
20 cppuhelper \
21 cppu \
22 sal \
23 sax \
24 sfx \
25 test \
26 tl \
27 unotest \
28 utl \
29 xmlsecurity \
30 vcl \
33 $(eval $(call gb_CppunitTest_use_externals,xmlsecurity_pdfsigning,\
34 boost_headers \
37 ifneq ($(OS),WNT)
38 ifneq (,$(ENABLE_NSS))
39 $(eval $(call gb_CppunitTest_use_externals,xmlsecurity_pdfsigning,\
40 nssutil3 \
42 endif
43 endif
45 $(eval $(call gb_CppunitTest_set_include,xmlsecurity_pdfsigning,\
46 -I$(SRCDIR)/xmlsecurity/inc \
47 $$(INCLUDE) \
50 $(eval $(call gb_CppunitTest_use_sdk_api,xmlsecurity_pdfsigning))
52 $(eval $(call gb_CppunitTest_use_ure,xmlsecurity_pdfsigning))
53 $(eval $(call gb_CppunitTest_use_vcl,xmlsecurity_pdfsigning))
55 $(eval $(call gb_CppunitTest_use_rdb,xmlsecurity_pdfsigning,services))
57 $(eval $(call gb_CppunitTest_use_configuration,xmlsecurity_pdfsigning))
59 ifeq ($(ENABLE_POPPLER),TRUE)
60 $(eval $(call gb_CppunitTest_use_executable,xmlsecurity_pdfsigning,xpdfimport))
61 endif
63 ifeq ($(OS),WNT)
64 # Initializing DocumentSignatureManager will require gpgme-w32spawn.exe in workdir/LinkTarget/Executable
65 $(eval $(call gb_CppunitTest_use_packages,xmlsecurity_pdfsigning,\
66 $(call gb_Helper_optional,GPGMEPP,gpgmepp)\
68 endif
70 # vim: set noet sw=4 ts=4: