Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
74725723
Kaydet (Commit)
74725723
authored
Şub 20, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rethink cppunittest "plugins" for iOS, more to come
üst
fcba36f1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
61 deletions
+6
-61
CppunitTest.mk
solenv/gbuild/CppunitTest.mk
+2
-0
LinkTarget.mk
solenv/gbuild/LinkTarget.mk
+2
-0
Module.mk
solenv/gbuild/Module.mk
+0
-12
post_DisableIosUnitchecks.mk
solenv/gbuild/extensions/post_DisableIosUnitchecks.mk
+0
-35
IOS_ARM_GCC.mk
solenv/gbuild/platform/IOS_ARM_GCC.mk
+2
-14
No files found.
solenv/gbuild/CppunitTest.mk
Dosyayı görüntüle @
74725723
...
...
@@ -51,7 +51,9 @@ endif
# gb_CppunitTest_TARGETTYPE
# gb_CppunitTest_get_filename
# DBGSV_ERROR_OUT => in non-product builds, ensure that tools-based assertions do not pop up as message box, but are routed to the shell
ifneq ($(OS),IOS)
gb_CppunitTest_CPPTESTTARGET := $(call gb_Executable_get_target,cppunit/cppunittester)
endif
gb_CppunitTest__get_linktargetname = CppunitTest/$(call gb_CppunitTest_get_filename,$(1))
...
...
solenv/gbuild/LinkTarget.mk
Dosyayı görüntüle @
74725723
...
...
@@ -830,7 +830,9 @@ endef
define gb_LinkTarget_add_linktarget_objects
$(call gb_LinkTarget_get_target,$(1)) : $(foreach linktarget,$(2),$(call gb_LinkTarget_get_target,$(linktarget)))
ifneq ($(OS),IOS)
$(call gb_LinkTarget_get_target,$(1)) : EXTRAOBJECTLISTS += $(foreach linktarget,$(2),$(call gb_LinkTarget_get_objects_list,$(linktarget)))
endif
endef
...
...
solenv/gbuild/Module.mk
Dosyayı görüntüle @
74725723
...
...
@@ -214,18 +214,6 @@ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
endef
# We don't build normal unit test dynamic libraries (CppUnit
# "plugins") for iOS, but instead statically linked unit test
# executables, so make gb_Module_add_check_target a no-op for iOS.
# As such we could build normal "plugins", as dynamic loading of
# modules presumably does work on iOS, it is just not allowed in apps
# distributed through the App Store. Unit testing at LO development
# time obviously is not anything that would be distributed as
# apps. But let's not, as we have to make this stuff work without
# dynamic loading anyway if the App Store is an eventual target, and
# why shouldn't it be.
define gb_Module_add_check_target
$(call gb_Module__read_targetfile,$(1),$(2),check target)
...
...
solenv/gbuild/extensions/post_DisableIosUnitchecks.mk
deleted
100644 → 0
Dosyayı görüntüle @
fcba36f1
# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# [ Copyright (C) 2011 Bjoern Michaelsen <bjoern.michaelsen@canonical.com> (initial developer) ]
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
# disable check target on IOS
ifeq ($(OS),IOS)
gb_Module_add_check_target=
gb_Module_add_slowcheck_target=
endif
# vim:set shiftwidth=4 softtabstop=4 noexpandtab:
solenv/gbuild/platform/IOS_ARM_GCC.mk
Dosyayı görüntüle @
74725723
...
...
@@ -183,8 +183,7 @@ endef
define gb_LinkTarget__command
$(call gb_Output_announce,$(2),$(true),LNK,4)
$(if $(filter CppunitTest Executable,$(TARGETTYPE)),$(call gb_LinkTarget__command_dynamiclink,$(1),$(2)))
$(if $(filter Library StaticLibrary,$(TARGETTYPE)),$(call gb_LinkTarget__command_staticlink,$(1)))
$(call gb_LinkTarget__command_staticlink,$(1))
endef
...
...
@@ -276,7 +275,7 @@ endef
gb_CppunitTest_CPPTESTPRECOMMAND := :
gb_CppunitTest_SYSPRE := libtest_
gb_CppunitTest_EXT := .
dylib
gb_CppunitTest_EXT := .
a
gb_CppunitTest_LIBDIR := $(gb_Helper_OUTDIRLIBDIR)
gb_CppunitTest_get_filename = $(gb_CppunitTest_SYSPRE)$(1)$(gb_CppunitTest_EXT)
gb_CppunitTest_get_libfilename = $(gb_CppunitTest_get_filename)
...
...
@@ -286,17 +285,6 @@ $(call gb_LinkTarget_get_target,$(2)) : LAYER := NONE
endef
# JunitTest class
define gb_JunitTest_JunitTest_platform
$(call gb_JunitTest_get_target,$(1)) : DEFS := \
-Dorg.openoffice.test.arg.soffice="$$$${OOO_TEST_SOFFICE:-path:$(OUTDIR)/installation/opt/LibreOffice.app/Contents/MacOS/soffice}" \
-Dorg.openoffice.test.arg.env=DYLD_LIBRARY_PATH \
-Dorg.openoffice.test.arg.user=file://$(call gb_JunitTest_get_userdir,$(1)) \
-Dorg.openoffice.test.arg.workdir=$(call gb_JunitTest_get_userdir,$(1)) \
endef
# Python
gb_PYTHON_PRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR_FOR_BUILD)/lib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment