tdf#161799 Preserve default styles in Yellow Idea
[LibreOffice.git] / sw / layoutwriter_setup.mk
blobbe4902a83274180f08defd8d6b064b9afe6ac7c0
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), \
26 comphelper \
27 cppu \
28 cppuhelper \
29 docmodel \
30 editeng \
31 msword \
32 sal \
33 sfx \
34 subsequenttest \
35 svl \
36 svt \
37 svxcore \
38 sw \
39 swqahelper \
40 test \
41 unotest \
42 vcl \
43 tl \
44 utl \
45 i18nlangtag \
48 $(eval $(call gb_CppunitTest_use_externals,sw_layoutwriter$(1),\
49 boost_headers \
50 libxml2 \
53 $(eval $(call gb_CppunitTest_set_include,sw_layoutwriter$(1),\
54 -I$(SRCDIR)/sw/inc \
55 -I$(SRCDIR)/sw/source/core/inc \
56 -I$(SRCDIR)/sw/source/uibase/inc \
57 -I$(SRCDIR)/sw/qa/inc \
58 $$(INCLUDE) \
61 $(eval $(call gb_CppunitTest_use_api,sw_layoutwriter$(1),\
62 udkapi \
63 offapi \
64 oovbaapi \
67 $(eval $(call gb_CppunitTest_use_ure,sw_layoutwriter$(1)))
68 $(eval $(call gb_CppunitTest_use_vcl,sw_layoutwriter$(1)))
70 $(eval $(call gb_CppunitTest_use_rdb,sw_layoutwriter$(1),services))
72 $(eval $(call gb_CppunitTest_use_custom_headers,sw_layoutwriter$(1),\
73 officecfg/registry \
76 $(eval $(call gb_CppunitTest_use_configuration,sw_layoutwriter$(1)))
78 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_layoutwriter$(1), \
79 modules/swriter \
80 sfx \
81 svt \
84 $(call gb_CppunitTest_get_target,sw_layoutwriter$(1)): \
85 $(call gb_Library_get_target,i18npool)
87 # assert if font/glyph fallback occurs
88 $(eval $(call gb_CppunitTest_set_non_application_font_use,sw_layoutwriter$(1),abort))
90 $(eval $(call gb_CppunitTest_use_more_fonts,sw_layoutwriter$(1)))
92 endef
94 # vim: set noet sw=4 ts=4: