Fix typo
[LibreOffice.git] / sw / uiwriter_setup.mk
blob013cb3e29953400e6d9aec257fa8820fe46abf66
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 define sw_uiwriter_libraries
13 comphelper \
14 cppu \
15 cppuhelper \
16 docmodel \
17 editeng \
18 i18nlangtag \
19 msword \
20 sal \
21 sfx \
22 subsequenttest \
23 svl \
24 svt \
25 svxcore \
26 sw \
27 swqahelper \
28 test \
29 unotest \
30 vcl \
31 tl \
32 utl \
33 svx
34 endef
36 # template for uiwriter tests (there are several so that they can be run in parallel)
37 define sw_uiwriter_test
39 $(eval $(call gb_CppunitTest_CppunitTest,sw_uiwriter$(1)))
41 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_uiwriter$(1)))
43 $(eval $(call gb_CppunitTest_add_exception_objects,sw_uiwriter$(1), \
44 sw/qa/extras/uiwriter/uiwriter$(1) \
47 $(eval $(call gb_CppunitTest_use_libraries,sw_uiwriter$(1), \
48 $(sw_uiwriter_libraries) \
51 $(eval $(call gb_CppunitTest_use_externals,sw_uiwriter$(1),\
52 boost_headers \
53 libxml2 \
56 $(eval $(call gb_CppunitTest_use_custom_headers,sw_uiwriter$(1),\
57 officecfg/registry \
60 $(eval $(call gb_CppunitTest_set_include,sw_uiwriter$(1),\
61 -I$(SRCDIR)/sw/inc \
62 -I$(SRCDIR)/sw/source/core/inc \
63 -I$(SRCDIR)/sw/source/uibase/inc \
64 -I$(SRCDIR)/sw/source/filter/inc \
65 -I$(SRCDIR)/sw/source/filter/html \
66 -I$(SRCDIR)/sw/qa/inc \
67 $$(INCLUDE) \
70 $(eval $(call gb_CppunitTest_use_api,sw_uiwriter$(1),\
71 udkapi \
72 offapi \
73 oovbaapi \
76 $(eval $(call gb_CppunitTest_use_ure,sw_uiwriter$(1)))
77 $(eval $(call gb_CppunitTest_use_vcl,sw_uiwriter$(1)))
79 $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter$(1),services))
81 $(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter$(1)))
83 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uiwriter$(1),\
84 modules/swriter \
85 sfx \
86 svt \
87 svx \
90 $(eval $(call gb_CppunitTest_use_packages,sw_uiwriter$(1),\
91 oox_customshapes \
92 sfx2_classification \
95 $(call gb_CppunitTest_get_target,sw_uiwriter$(1)) : $(call gb_Library_get_target,textconv_dict)
97 $(eval $(call gb_CppunitTest_use_more_fonts,sw_uiwriter$(1)))
99 $(eval $(call gb_CppunitTest_add_arguments,sw_uiwriter$(1), \
100 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
103 endef
105 # vim: set noet sw=4 ts=4: