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 # template for layoutwriter tests (there are several so that they can be run in parallel)
13 define sw_layoutwriter_test
15 $(eval
$(call gb_CppunitTest_CppunitTest
,sw_layoutwriter
$(1)))
17 $(eval
$(call gb_CppunitTest_use_common_precompiled_header
,sw_layoutwriter
$(1)))
19 $(eval
$(call gb_CppunitTest_add_exception_objects
,sw_layoutwriter
$(1), \
20 sw
/qa
/extras
/layout
/layout
$(1) \
23 # note: this links msword only for the reason to have an order dependency,
24 # because "make sw.check" will not see the dependency through services.rdb
25 $(eval
$(call gb_CppunitTest_use_libraries
,sw_layoutwriter
$(1), \
46 $(eval
$(call gb_CppunitTest_use_externals
,sw_layoutwriter
$(1),\
51 $(eval
$(call gb_CppunitTest_set_include
,sw_layoutwriter
$(1),\
53 -I
$(SRCDIR
)/sw
/source
/core
/inc \
54 -I
$(SRCDIR
)/sw
/source
/uibase
/inc \
55 -I
$(SRCDIR
)/sw
/qa
/inc \
59 $(eval
$(call gb_CppunitTest_use_api
,sw_layoutwriter
$(1),\
65 $(eval
$(call gb_CppunitTest_use_ure
,sw_layoutwriter
$(1)))
66 $(eval
$(call gb_CppunitTest_use_vcl
,sw_layoutwriter
$(1)))
68 $(eval
$(call gb_CppunitTest_use_rdb
,sw_layoutwriter
$(1),services
))
70 $(eval
$(call gb_CppunitTest_use_custom_headers
,sw_layoutwriter
$(1),\
74 $(eval
$(call gb_CppunitTest_use_configuration
,sw_layoutwriter
$(1)))
76 $(eval
$(call gb_CppunitTest_use_uiconfigs
,sw_layoutwriter
$(1), \
82 $(call gb_CppunitTest_get_target
,sw_layoutwriter
$(1)): \
83 $(call gb_Library_get_target
,textconv_dict
)
85 # assert if font/glyph fallback occurs
86 $(call gb_CppunitTest_get_target
,sw_layoutwriter
$(1)): \
88 SAL_ABORT_ON_NON_APPLICATION_FONT_USE
=1
90 $(eval
$(call gb_CppunitTest_use_more_fonts
,sw_layoutwriter
$(1)))
94 # vim: set noet sw=4 ts=4: