add a testbed for gbuild
Change-Id: Ie6e54c291f92dfede113a1d0fa20771482d93605 Reviewed-on: https://gerrit.libreoffice.org/29743 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
committed by
Björn Michaelsen
parent
59ee2791e6
commit
7f77e6840d
@@ -1000,4 +1000,8 @@ $(eval $(call gb_Helper_register_uiconfigs,\
|
|||||||
xmlsec \
|
xmlsec \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
ifeq ($(gb_GBUILDSELFTEST),t)
|
||||||
|
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo,gbuildselftestdep gbuildselftest))
|
||||||
|
endif
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
37
solenv/qa/python/selftest/Library_gbuildselftest.mk
Normal file
37
solenv/qa/python/selftest/Library_gbuildselftest.mk
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,gbuildselftest))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_set_include,gbuildselftest,\
|
||||||
|
-Igbuildtoidetestinclude\
|
||||||
|
$$(INCLUDE) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_defs,gbuildselftest,\
|
||||||
|
-DGBUILDSELFTESTDEF \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_cxxflags,gbuildselftest,\
|
||||||
|
-DGBUILDSELFTESTCXXFLAG \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_cflags,gbuildselftest,\
|
||||||
|
-DGBUILDSELFTESTCFLAG \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_use_libraries,gbuildselftest,\
|
||||||
|
gbuildselftestdep \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,gbuildselftest,\
|
||||||
|
solenv/qa/python/selftest/selftestobject \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
15
solenv/qa/python/selftest/Library_gbuildselftestdep.mk
Normal file
15
solenv/qa/python/selftest/Library_gbuildselftestdep.mk
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_Library,gbuildselftestdep))
|
||||||
|
|
||||||
|
$(eval $(call gb_Library_add_exception_objects,gbuildselftestdep,\
|
||||||
|
solenv/qa/python/selftest/selftestdepobject \
|
||||||
|
))
|
||||||
|
# vim: set noet sw=4 ts=4:
|
21
solenv/qa/python/selftest/Makefile
Normal file
21
solenv/qa/python/selftest/Makefile
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
|
ifeq (,$(BUILDDIR))
|
||||||
|
gb_partial_build__makefile_dir=$(dir $(abspath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
BUILDDIR := $(gb_partial_build__makefile_dir)../../../..
|
||||||
|
endif
|
||||||
|
|
||||||
|
gb_GBUILDSELFTEST=t
|
||||||
|
|
||||||
|
include $(module_directory)/../../../gbuild/partial_build.mk
|
||||||
|
|
||||||
|
# vim: set noet sw=4 ts=4:
|
17
solenv/qa/python/selftest/Module_selftest.mk
Normal file
17
solenv/qa/python/selftest/Module_selftest.mk
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||||
|
#
|
||||||
|
# This file is part of the LibreOffice project.
|
||||||
|
#
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
#
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_Module,gbuildtoidetest))
|
||||||
|
|
||||||
|
$(eval $(call gb_Module_add_targets,gbuildtoidetest,\
|
||||||
|
Library_gbuildselftestdep \
|
||||||
|
Library_gbuildselftest \
|
||||||
|
))
|
||||||
|
|
||||||
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|
0
solenv/qa/python/selftest/selftestdepobject.cxx
Normal file
0
solenv/qa/python/selftest/selftestdepobject.cxx
Normal file
0
solenv/qa/python/selftest/selftestobject.cxx
Normal file
0
solenv/qa/python/selftest/selftestobject.cxx
Normal file
Reference in New Issue
Block a user