set Referer on loading IFrames
[LibreOffice.git] / sw / uiwriter_setup.mk
bloba4def8e801203c2044d88351b8e94e1dbe7580bc
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 editeng \
17 i18nlangtag \
18 msword \
19 sal \
20 sfx \
21 svl \
22 svt \
23 svxcore \
24 sw \
25 swqahelper \
26 test \
27 unotest \
28 vcl \
29 tl \
30 utl \
31 svx
32 endef
34 # template for uiwriter tests (there are several so that they can be run in parallel)
35 define sw_uiwriter_test
37 $(eval $(call gb_CppunitTest_CppunitTest,sw_uiwriter$(1)))
39 $(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_uiwriter$(1)))
41 $(eval $(call gb_CppunitTest_add_exception_objects,sw_uiwriter$(1), \
42 sw/qa/extras/uiwriter/uiwriter$(1) \
45 $(eval $(call gb_CppunitTest_use_libraries,sw_uiwriter$(1), \
46 $(sw_uiwriter_libraries) \
49 $(eval $(call gb_CppunitTest_use_externals,sw_uiwriter$(1),\
50 boost_headers \
51 libxml2 \
54 $(eval $(call gb_CppunitTest_set_include,sw_uiwriter$(1),\
55 -I$(SRCDIR)/sw/inc \
56 -I$(SRCDIR)/sw/source/core/inc \
57 -I$(SRCDIR)/sw/source/uibase/inc \
58 -I$(SRCDIR)/sw/source/filter/inc \
59 -I$(SRCDIR)/sw/source/filter/html \
60 -I$(SRCDIR)/sw/qa/inc \
61 $$(INCLUDE) \
64 $(eval $(call gb_CppunitTest_use_api,sw_uiwriter$(1),\
65 udkapi \
66 offapi \
67 oovbaapi \
70 $(eval $(call gb_CppunitTest_use_ure,sw_uiwriter$(1)))
71 $(eval $(call gb_CppunitTest_use_vcl,sw_uiwriter$(1)))
73 $(eval $(call gb_CppunitTest_use_rdb,sw_uiwriter$(1),services))
75 $(eval $(call gb_CppunitTest_use_configuration,sw_uiwriter$(1)))
77 $(eval $(call gb_CppunitTest_use_uiconfigs,sw_uiwriter$(1),\
78 modules/swriter \
79 sfx \
80 svt \
81 svx \
84 $(eval $(call gb_CppunitTest_use_packages,sw_uiwriter$(1),\
85 oox_customshapes \
86 sfx2_classification \
89 $(call gb_CppunitTest_get_target,sw_uiwriter$(1)) : $(call gb_Library_get_target,textconv_dict)
91 $(eval $(call gb_CppunitTest_use_more_fonts,sw_uiwriter$(1)))
93 $(eval $(call gb_CppunitTest_add_arguments,sw_uiwriter$(1), \
94 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
97 endef
99 # vim: set noet sw=4 ts=4: