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
a3035495
Kaydet (Commit)
a3035495
authored
Mar 21, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make the DocumentLoader experimental app build again
üst
2cbb41b3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
40 deletions
+52
-40
AndroidManifest.xml
android/experiments/DocumentLoader/AndroidManifest.xml
+1
-1
Makefile
android/experiments/DocumentLoader/Makefile
+40
-38
local.properties.in
android/experiments/DocumentLoader/local.properties.in
+2
-0
project.properties
android/experiments/DocumentLoader/project.properties
+3
-0
configure.in
configure.in
+6
-1
No files found.
android/experiments/DocumentLoader/AndroidManifest.xml
Dosyayı görüntüle @
a3035495
...
...
@@ -4,7 +4,7 @@
android:versionCode=
"1"
android:versionName=
"1.0"
>
<uses-sdk
android:minSdkVersion=
"9"
/>
<application
android:label=
"
@string/app_name
"
<application
android:label=
"
LO Experimental DocumentLoader
"
android:debuggable=
"true"
>
<activity
android:name=
".DocumentLoader"
android:label=
"LO DocumentLoader"
...
...
android/experiments/DocumentLoader/Makefile
Dosyayı görüntüle @
a3035495
NDK_HOME
:=
$(
shell
type
-p
ndk-build
)
NDK_HOME
:=
$(
shell
dirname
$(NDK_HOME))
include
../../../config_host.mk
# The package of this app
APP_PACKAGE
=
org.libreoffice.android.examples
SODEST
=
libs/armeabi-v7a
OBJLOCAL
=
obj/local/armeabi-v7a
define
COPYSO
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
...
...
@@ -18,37 +19,11 @@ endef
all
:
build-ant
copy-stuff
:
copy-stuff
:
# First always clean
rm
-rf
libs
$(OBJLOCAL)
mkdir
-p
$(SODEST)
$(OBJLOCAL)
#
# Copy jar files we need, and even construct one.
#
for
F
in
$(strip
\
java_uno
\
juh
\
jurt
\
ridl
\
unoloader
\
);
do
\
$(call
COPYJAR,$(OUTDIR)/bin/$${F}.jar);
\
done
#
# lo-bootstrap.jar from ../../Bootstrap
#
cp
../../Bootstrap/lo-bootstrap.jar
libs
#
# com.sun.star.frame.XComponentLoader is not in any jar
#
cd
libs
&&
\
LD_LIBRARY_PATH
=
$(OUTDIR_FOR_BUILD)
/lib
\
DYLD_LIBRARY_PATH
=
$(OUTDIR_FOR_BUILD)
/lib
\
$(OUTDIR_FOR_BUILD)
/bin/javamaker
-BUCR
-nD
\
$(OUTDIR)
/bin/udkapi.rdb
$(OUTDIR)
/bin/offapi.rdb
\
-Tcom
.sun.star.frame.XComponentLoader
&&
\
jar cvf more.jar com
#
# Copy shared libraries (including UNO components) we need to
# libs/armeabi-v7a so that ant will include them in the .apk.
#
...
...
@@ -70,8 +45,8 @@ copy-stuff:
lo-bootstrap
\
localedata_en
\
localedata_others
\
mergedlo
\
reg
\
sal_textenc
\
store
\
ucbhelper4gcc3
\
uno_cppu
\
...
...
@@ -87,7 +62,7 @@ copy-stuff:
done
#
# Then the shared GNU C++ library
$(call
COPYSO,$(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so)
$(call
COPYSO,$(
ANDROID_
NDK_HOME)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_shared.so)
#
# Then other "assets". Let the directory structure under assets mimic
# that under solver for now.
...
...
@@ -101,20 +76,47 @@ 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
build-ant
:
copy-stuff
unset
JAVA_HOME
&&
ant debug
#
# Copy jar files we need, and even construct one.
#
for
F
in
$(strip
\
java_uno
\
juh
\
jurt
\
ridl
\
unoloader
\
);
do
\
$(call
COPYJAR,$(OUTDIR)/bin/$${F}.jar);
\
done
#
# com.sun.star.frame.XComponentLoader is not in any jar
#
cd
libs
&&
\
LD_LIBRARY_PATH
=
$(OUTDIR_FOR_BUILD)
/lib
\
DYLD_LIBRARY_PATH
=
$(OUTDIR_FOR_BUILD)
/lib
\
$(OUTDIR_FOR_BUILD)
/bin/javamaker
-BUCR
-nD
\
$(OUTDIR)
/bin/udkapi.rdb
$(OUTDIR)
/bin/offapi.rdb
\
-Tcom
.sun.star.frame.XComponentLoader
&&
\
jar cvf more.jar com
#
unset
JAVA_HOME
&&
$(ANT)
debug
install
:
copy-stuff
unset
JAVA_HOME
&&
ant
debug
install
unset
JAVA_HOME
&&
$(ANT)
debug
install
@
echo
@
echo
'Run it with something like what "make run" does (see Makefile)'
@
echo
run
:
install
uninstall
:
$(ANDROID_SDK_HOME)
/platform-tools/adb uninstall
$(APP_PACKAGE)
run
:
adb shell am start
-n
org.libreoffice.android.examples/.DocumentLoader
-e
input /assets/test1.odt
clean
:
rm
-rf
bin assets
$(ANT)
clean
rm
-rf
assets libs
$(SODEST)
$(OBJLOCAL)
android/experiments/DocumentLoader/local.properties.in
0 → 100644
Dosyayı görüntüle @
a3035495
# Location of the SDK. This is only used by Ant.
sdk.dir=@ANDROID_SDK_HOME@
android/experiments/DocumentLoader/project.properties
Dosyayı görüntüle @
a3035495
...
...
@@ -9,3 +9,6 @@
# Project target.
target
=
android-14
# Use the Bootstrap class
android.library.reference.1
=
../../Bootstrap
configure.in
Dosyayı görüntüle @
a3035495
...
...
@@ -3254,6 +3254,7 @@ if test "$cross_compiling" = "yes"; then
tar cf - \
bin/repo-list.in \
android/Bootstrap/local.properties.in \
android/experiments/DocumentLoader/local.properties.in \
android/qa/sc/local.properties.in \
android/qa/desktop/local.properties.in \
config.guess \
...
...
@@ -11238,7 +11239,11 @@ else
echo > config_host.mk.last
fi
AC_CONFIG_FILES([config_host.mk ooo.lst bin/repo-list android/Bootstrap/local.properties android/qa/sc/local.properties android/qa/desktop/local.properties])
AC_CONFIG_FILES([config_host.mk ooo.lst bin/repo-list \
android/Bootstrap/local.properties \
android/experiments/DocumentLoader/local.properties \
android/qa/sc/local.properties \
android/qa/desktop/local.properties])
AC_OUTPUT
# touch the config timestamp file set_soenv.stamp
...
...
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