summaryrefslogtreecommitdiff
path: root/testtools/Module_testtools.mk
blob: 9ffb2520ff4fd29c1af56862a2d79b77e19828e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- 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,testtools))

ifeq ($(CROSS_COMPILING),)

$(eval $(call gb_Module_add_targets,testtools,\
	CustomTarget_bridgetest \
	InternalUnoApi_bridgetest \
	InternalUnoApi_performance \
	StaticLibrary_bridgetest \
	Library_cppobj \
	Library_bridgetest \
	Library_constructors \
	Rdb_uno_services \
))

ifneq ($(ENABLE_JAVA),)
$(eval $(call gb_Module_add_targets,testtools,\
	Jar_testComponent \
	CustomTarget_bridgetest_javamaker \
))
endif

ifeq ($(COM),MSC)
$(eval $(call gb_Module_add_targets,testtools,\
	CustomTarget_bridgetest_climaker \
))
endif

$(eval $(call gb_Module_add_check_targets,testtools,\
	CustomTarget_uno_test \
))

endif

# vim:set noet sw=4 ts=4:
lo/core/commit/ure?h=distro/collabora/cp-4.1&id=6492c8576e0393f7ee548cd938e84c80e8d37127'>Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606 2014-08-10Ugly hack to fix build when srcdir!=builddirTor Lillqvist The problem is that the ure/source/unorc file is now expanded by the configure script, and thus exists only in builddir. But a further complication is that the uno.ini file is in srcdir. This is one way to handle it. Seems to work for me, let's see what the srcdir!=builddir tinderbox slaves say. Change-Id: I6fb456cf849ce5077e2c5bd25dc9149096aab241 2014-08-10javaldx is not built for WNT or MACOSX so no point in the uno wrapper scriptTor Lillqvist Change-Id: I127205ebf6fb3fe01de6803a989e970f46df22bb 2014-08-10Fixes for the --enable-canonical-installation-tree-structure caseTor Lillqvist Do install the uno and startup.sh commands, smoketest needs them Change-Id: Ia530564e4b664881d730355a80e2af4476987e10 2014-08-10Use @LIBO_URE_LIB_FOLDER@ for URE_INTERNAL_LIB_DIRTor Lillqvist In the --enable-canonical-installation-tree-structure case (on OS X), the URE unorc is definitely not in the same place as any libs. Noticed in JunitTest_comphelper_complex. Change-Id: Ic6097021f9abc081e2a7c7aac25286ad2c4b75e5 2014-08-10Use @LIBO_URE_SHARE_JAVA_FOLDER@ instead of hardcoding ../share/javaTor Lillqvist Makes CppunitTest_dbaccess_hsqldb_test work also in the --enable-canonical-installation-tree-structure (on OS X), otherwise the use of $URE_INTERNAL_JAVA_CLASSPATH (looked up from the URE unorc) in stoc/source/javavm/javavm.cxx fails. Change-Id: I5ea045594c32e6a1398b73cff1e4aa8bbe1aa265 2014-06-05various: remove SAL_THROW macroNoel Grandin Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494 2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74 2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann ...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882 2013-12-16Clean-up uno/lbnames.hStephan Bergmann Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919 2013-12-11ure: remove documentation of no longer bundled GCC librariesMichael Stahl Change-Id: I28ca12157fcc918ccb8a87d1d1801908d300eca7 2013-12-11ure: remove references to SunStudio C52 filenamesMichael Stahl Change-Id: If11655aa56239b9241db43a058244360a8abe1ec 2013-11-05fdo#60698: Merge all libs of io...Marcos Paulo de Souza creating the libio. All these libraries are always used together, so we can put them together in one single library. This save almost 500 kb of the size of the final library. Change-Id: Ib32fec36cc4eb80ca646ce472c1f1bcdd98ac62b Reviewed-on: https://gerrit.libreoffice.org/6567 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com> 2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186 2013-10-05URE folder path fixes for the HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE caseTor Lillqvist Change-Id: I5019cce2172db7b3ac74e25f5ea9dc62e9fd03f8 2013-09-23Try to fix cross-compilationTor Lillqvist Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255 2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd 2013-09-16Remove incorrect commentsTor Lillqvist Change-Id: I3e9b82001f92edc6e697a976db635af31e16d769 2013-09-12gbuild: remove gb_Rdb__get_final_targetMichael Stahl ... by replacing gb_Rdb_install with a separate constructor so the right target can be registered at the module. There is still an ugly special case for the ure/services. Change-Id: I81c004143f201aaf38daca99819888313ee24f49 2013-09-11Towards a working instdir for Mac OS X: some LIBO_URE_BIN_FOLDER fixesStephan Bergmann Change-Id: I0583136acd5d92101ad1a23392735ed76581c0b8 2013-09-11Towards a working instdir for Mac OS XStephan Bergmann Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5 2013-09-09gbuild: install rdb files directly in module they come fromMatúš Kukan Change-Id: I3a9cb4ce71cfb02b7378289a36aa0eb6e3a42f26 2013-09-09tweak previous commit hoping it will work on Mac ...Michael Stahl ... plus some more fixes: - also install ure-link on WNT via Package not scp2. - also disable unorc in scp2 on WNT, otherwise cannot built instset due to duplicate file. - slso USE_INTERNAL_RIGHTS so startup.sh is executable. 2013-09-09ure: install files with filelistsMatúš Kukan This commit adds gb_Package_add_symbolic_link. Change-Id: I58511ede3da402464e60a4c45549c15c9c5dd1a5 2013-08-27fdo#67313: Use "lo" suffix for private URE libsStephan Bergmann ...(like is done for most of LO's non-URE libs already) to reduce likelihood of name clashes, esp. on Windows where URE libs are found via PATH. This introduces PRIVATELIBS_URE, and removes now-unused UNOLIBS_URE. Change-Id: Ib95dd45f18de140a54e62d632dbf2239f83c232e 2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3 2013-08-19Use correct paths to URE stuff on WindowsTor Lillqvist For some historical reason, URE has no "share" subfolder on Windows. Change-Id: I530e673cc7a5cb5fe5d82a5e952ac50e4c2270b2 2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53