1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_CppunitTest_CppunitTest
,vcl_pdfexport2
))
12 $(eval
$(call gb_CppunitTest_add_exception_objects
,vcl_pdfexport2
, \
13 vcl
/qa
/cppunit
/pdfexport
/pdfexport2 \
16 $(eval
$(call gb_CppunitTest_use_sdk_api
,vcl_pdfexport2
))
18 $(eval
$(call gb_CppunitTest_use_libraries
,vcl_pdfexport2
, \
34 $(eval
$(call gb_CppunitTest_use_externals
,vcl_pdfexport2
, \
37 $(if
$(filter PDFIUM
,$(BUILD_TYPE
)),pdfium
) \
40 $(eval
$(call gb_CppunitTest_set_include
,vcl_pdfexport2
,\
42 -I
$(SRCDIR
)/sw
/source
/core
/inc \
43 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
44 -I
$(SRCDIR
)/sw
/qa
/inc \
48 $(eval
$(call gb_CppunitTest_use_sdk_api
,vcl_pdfexport2
))
50 $(eval
$(call gb_CppunitTest_use_ure
,vcl_pdfexport2
))
51 $(eval
$(call gb_CppunitTest_use_vcl
,vcl_pdfexport2
))
53 $(eval
$(call gb_CppunitTest_use_rdb
,vcl_pdfexport2
,services
))
55 $(eval
$(call gb_CppunitTest_use_configuration
,vcl_pdfexport2
))
57 # assert if font/glyph fallback occurs
58 $(eval
$(call gb_CppunitTest_set_non_application_font_use
,vcl_pdfexport2
,abort
))
60 $(eval
$(call gb_CppunitTest_use_more_fonts
,vcl_pdfexport2
))
62 # vim: set noet sw=4 ts=4: