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
5cfcd680
Kaydet (Commit)
5cfcd680
authored
Eki 13, 2016
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add gbuildtoide support for exes
Change-Id: I320ee341651dd0c92de5176c10aa5290afea1d38
üst
4ea6f3c3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
4 deletions
+35
-4
Repository.mk
Repository.mk
+2
-1
post_GbuildToIde.mk
solenv/gbuild/extensions/post_GbuildToIde.mk
+2
-2
gbuildtoide.py
solenv/qa/python/gbuildtoide.py
+13
-1
Executable_gbuildselftestexe.mk
solenv/qa/python/selftest/Executable_gbuildselftestexe.mk
+16
-0
Module_selftest.mk
solenv/qa/python/selftest/Module_selftest.mk
+1
-0
selftestexeobject.cxx
solenv/qa/python/selftest/selftestexeobject.cxx
+1
-0
No files found.
Repository.mk
Dosyayı görüntüle @
5cfcd680
...
...
@@ -1001,7 +1001,8 @@ $(eval $(call gb_Helper_register_uiconfigs,\
))
ifeq ($(gb_GBUILDSELFTEST),t)
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo,gbuildselftestdep gbuildselftest))
$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, gbuildselftestdep gbuildselftest))
$(eval $(call gb_Helper_register_executables,NONE, gbuildselftestexe))
endif
# vim: set noet sw=4 ts=4:
solenv/gbuild/extensions/post_GbuildToIde.mk
Dosyayı görüntüle @
5cfcd680
...
...
@@ -41,9 +41,9 @@ printf '}\n' >> $(WORKDIR)/GbuildToIde/$(2)
endef
define gb_Postprocess_register_target
gbuildtoide : $(call gb_LinkTarget_get_target,$(call gb_
Library
_get_linktarget,$(3)))
gbuildtoide : $(call gb_LinkTarget_get_target,$(call gb_
$(2)
_get_linktarget,$(3)))
$(call gb_LinkTarget_get_target,$(call gb_
Library
_get_linktarget,$(3))): $(gb_Helper_MISCDUMMY) foo
$(call gb_LinkTarget_get_target,$(call gb_
$(2)
_get_linktarget,$(3))): $(gb_Helper_MISCDUMMY) foo
endef
endif
...
...
solenv/qa/python/gbuildtoide.py
Dosyayı görüntüle @
5cfcd680
...
...
@@ -34,7 +34,6 @@ class CheckGbuildToIde(unittest.TestCase):
gbuildlibs
=
[]
for
jsonfilename
in
jsonfiles
:
with
open
(
os
.
path
.
join
(
tempwork
,
'GbuildToIde'
,
'Library'
,
jsonfilename
),
'r'
)
as
f
:
print
(
'loading
%
s'
%
jsonfilename
)
gbuildlibs
.
append
(
json
.
load
(
f
))
foundlibs
=
set
()
for
lib
in
gbuildlibs
:
...
...
@@ -53,6 +52,19 @@ class CheckGbuildToIde(unittest.TestCase):
self
.
assertTrue
(
False
)
self
.
assertEqual
(
foundlibs
,
set
([
'gbuildselftest'
,
'gbuildselftestdep'
]))
self
.
assertEqual
(
len
(
foundlibs
),
2
)
jsonfiles
=
os
.
listdir
(
os
.
path
.
join
(
tempwork
,
'GbuildToIde'
,
'Executable'
))
gbuildexes
=
[]
for
jsonfilename
in
jsonfiles
:
with
open
(
os
.
path
.
join
(
tempwork
,
'GbuildToIde'
,
'Executable'
,
jsonfilename
),
'r'
)
as
f
:
gbuildexes
.
append
(
json
.
load
(
f
))
foundexes
=
set
()
for
exe
in
gbuildexes
:
if
exe
[
'LINKTARGET'
]
.
find
(
'gbuildselftestexe'
)
!=
-
1
:
foundexes
.
add
(
'gbuildselftestexe'
)
else
:
self
.
assertTrue
(
False
)
self
.
assertEqual
(
foundexes
,
set
([
'gbuildselftestexe'
]))
self
.
assertEqual
(
len
(
foundexes
),
1
)
if
__name__
==
"__main__"
:
unittest
.
main
()
solenv/qa/python/selftest/Executable_gbuildselftestexe.mk
0 → 100644
Dosyayı görüntüle @
5cfcd680
# -*- 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_Executable_Executable,gbuildselftestexe))
$(eval $(call gb_Executable_add_exception_objects,gbuildselftestexe,\
solenv/qa/python/selftest/selftestexeobject \
))
# vim: set noet sw=4 ts=4:
solenv/qa/python/selftest/Module_selftest.mk
Dosyayı görüntüle @
5cfcd680
...
...
@@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,gbuildtoidetest))
$(eval $(call gb_Module_add_targets,gbuildtoidetest,\
Library_gbuildselftestdep \
Library_gbuildselftest \
Executable_gbuildselftestexe \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
solenv/qa/python/selftest/selftestexeobject.cxx
0 → 100644
Dosyayı görüntüle @
5cfcd680
int
main
(
void
)
{
return
0
;
}
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