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_CustomTarget_CustomTarget
,testtools
/uno_test
))
12 # this target is phony to run it every time
13 .PHONY
: $(call gb_CustomTarget_get_target
,testtools
/uno_test
)
15 $(call gb_CustomTarget_get_target
,testtools
/uno_test
) : \
16 $(call gb_Executable_get_runtime_dependencies
,uno
) \
17 $(call gb_InternalUnoApi_get_target
,bridgetest
) \
18 $(call gb_Package_get_target
,instsetoo_native_setup_ure
) \
19 $(call gb_Rdb_get_target
,uno_services
) \
20 $(call gb_Rdb_get_target
,ure
/services
) \
21 $(call gb_UnoApi_get_target
,udkapi
)
22 $(call gb_Helper_abbreviate_dirs
,\
23 $(call gb_Executable_get_command
,uno
) \
24 -s com.sun.star.
test.bridge.BridgeTest \
25 -- com.sun.star.
test.bridge.CppTestObject \
26 -env
:LO_BUILD_LIB_DIR
=$(call gb_Helper_make_url
,$(gb_Library_WORKDIR_FOR_BUILD
)) \
27 -env
:URE_MORE_SERVICES
=$(call gb_Helper_make_url
,$(call gb_Rdb_get_target
,uno_services
)) \
28 -env
:URE_MORE_TYPES
=$(call gb_Helper_make_url
,$(WORKDIR
)/UnoApiTarget
/bridgetest.rdb
))
30 # vim:set shiftwidth=4 tabstop=4 noexpandtab: