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
3c926455
Kaydet (Commit)
3c926455
authored
Ock 18, 2012
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: use config_host.mk for unit test goodness
üst
e3e54d74
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
24 deletions
+15
-24
Makefile
android/qa/sc/Makefile
+5
-7
Makefile
android/qa/simple/Makefile
+7
-13
configure.in
configure.in
+1
-0
svpdummies.cxx
vcl/headless/svpdummies.cxx
+2
-4
No files found.
android/qa/sc/Makefile
Dosyayı görüntüle @
3c926455
include
../../../config_host.mk
# The package of this app
APP_PACKAGE
=
org.libreoffice.android.qa.sc
...
...
@@ -9,15 +11,11 @@ BOOTSTRAP=org.libreoffice.android.Bootstrap
APP_DATA_PATH
=
/data/data/
$(APP_PACKAGE)
NDK_HOME
:=
$(
shell
type
-p
ndk-build
)
NDK_HOME
:=
$(
shell
dirname
$(NDK_HOME))
SODEST
=
libs/armeabi-v7a
OBJLOCAL
=
obj/local/armeabi-v7a
define
COPY
cp
$(1)
$(SODEST)$(if
$(2),/$(2))
&&
\
arm-linux-androideabi-strip
--strip-debug
$(SODEST)$(if
$(2),/$(2),/$(notdir
$(1)))
&&
\
cp
$(1)
$(SODEST)$(if
$(2),/$(2))
&&
$(STRIP)
--strip-debug
$(SODEST)$(if
$(2),/$(2),/$(notdir
$(1)))
&&
\
cp
$(1)
$(OBJLOCAL)$(if
$(2),/$(2))
endef
...
...
@@ -118,7 +116,7 @@ copy-stuff:
done
#
# Then the shared GNU C++ library
$(call
COPY,$(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so)
$(call
COPY,$(
ANDROID_
NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so)
#
# Then other "assets" that can be left in the .apk. Let the directory
# structure under assets mimic that under solver or workdir for now.
...
...
@@ -149,7 +147,7 @@ copy-stuff:
#
# Then gdbserver and gdb.setup so that we can debug with ndk-gdb.
#
cp
$(NDK_HOME)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver
$(SODEST)
cp
$(
ANDROID_
NDK_HOME)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver
$(SODEST)
echo
set
solib-search-path
./obj/local/armeabi-v7a
>$(SODEST)/gdb.setup
...
...
android/qa/simple/Makefile
Dosyayı görüntüle @
3c926455
include
../../../config_host.mk
# The package of this app
APP_PACKAGE
=
org.libreoffice.android.qa
...
...
@@ -9,15 +11,11 @@ BOOTSTRAP=org.libreoffice.android.Bootstrap
APP_DATA_PATH
=
/data/data/
$(APP_PACKAGE)
NDK_HOME
:=
$(
shell
type
-p
ndk-build
)
NDK_HOME
:=
$(
shell
dirname
$(NDK_HOME))
SODEST
=
libs/armeabi-v7a
OBJLOCAL
=
obj/local/armeabi-v7a
define
COPY
cp
$(1)
$(SODEST)$(if
$(2),/$(2))
&&
\
arm-linux-androideabi-strip
--strip-debug
$(SODEST)$(if
$(2),/$(2),/$(notdir
$(1)))
&&
\
cp
$(1)
$(SODEST)$(if
$(2),/$(2))
&&
$(STRIP)
--strip-debug
$(SODEST)$(if
$(2),/$(2),/$(notdir
$(1)))
&&
\
cp
$(1)
$(OBJLOCAL)$(if
$(2),/$(2))
endef
...
...
@@ -47,17 +45,13 @@ copy-stuff:
#
# cppunit "plug-ins", first ones from sal
#
$(call
COPY,$(
SRCDIR)/sal/$(INPATH)/lib/
*.so)
$(call
COPY,$(
OUTDIR)/lib/libuno_sal
*.so)
#
# and ones from other modules. Note that depending on when you try
# this, these might not have been built yet.
#
for
F
in
$(SRC_ROOT)/cppu/$(INPATH)/lib/qa_*.so;
do
\
$(call
COPY,$${F},`basename
$${F}`);
\
done
#
for
F
in
i18npool_test_breakiterator;
do
\
$(call
COPY,$(WORKDIR)/LinkTarget/CppunitTest/libtest_$${F}.so);
\
for
F
in
i18npool_test_breakiterator
cppu
cppuhelper
sal;
do
\
$(call
COPY,$(WORKDIR)/LinkTarget/CppunitTest/libtest_$${F}*.so);
\
done
#
# Other "programs"
...
...
@@ -90,7 +84,7 @@ copy-stuff:
done
#
# Then the shared GNU C++ library
$(call
COPY,$(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so)
$(call
COPY,$(
ANDROID_
NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so)
#
# bridgetest components, not in solver
for
F
in
bridgetest
constructors
cppobj;
do
\
...
...
configure.in
Dosyayı görüntüle @
3c926455
...
...
@@ -104,6 +104,7 @@ if test "z$with_android_ndk" != "z"; then
test -z "$STRIP" && STRIP=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-strip
test -z "$CC" && CC="$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-gcc --sysroot $ANDROID_NDK_HOME/platforms/android-9/arch-arm -L$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a"
test -z "$CXX" && CXX="$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-g++ --sysroot $ANDROID_NDK_HOME/platforms/android-9/arch-arm -I $ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/include -I$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include -L$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a -fexceptions -frtti"
# PATH="$ANDROID_NDK_HOME/:$PATH"
fi
AC_SUBST(ANDROID_NDK_HOME)
...
...
vcl/headless/svpdummies.cxx
Dosyayı görüntüle @
3c926455
...
...
@@ -91,10 +91,8 @@ rtl::OUString SvpSalSystem::GetDisplayScreenName( unsigned int nScreen )
return
aBuf
.
makeStringAndClear
();
}
int
SvpSalSystem
::
ShowNativeDialog
(
const
rtl
::
OUString
&
rTitle
,
const
rtl
::
OUString
&
rMessage
,
const
std
::
list
<
rtl
::
OUString
>&
rButtons
,
int
nDefButton
)
int
SvpSalSystem
::
ShowNativeDialog
(
const
rtl
::
OUString
&
,
const
rtl
::
OUString
&
,
const
std
::
list
<
rtl
::
OUString
>&
,
int
)
{
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