diff options
author | Jan Holesovsky <kendy@collabora.com> | 2019-11-25 21:34:21 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-12-30 14:24:30 +0100 |
commit | d556760c2f7ca731c428c4c8fa081ed7a1dfbb4b (patch) | |
tree | bf22b1002a15e13f46382b8a340cb99e184e9651 /android/README | |
parent | android: Fix build. (diff) | |
download | online-d556760c2f7ca731c428c4c8fa081ed7a1dfbb4b.tar.gz online-d556760c2f7ca731c428c4c8fa081ed7a1dfbb4b.zip |
android: Implement (optional) support for both 32bit and 64bit build.
This adds possiblity to specify additional build trees for LibreOffice
and POCO that contain the 64bit version, like:
--with-lo-builddir=/local/libreoffice/master-android-release:/local/libreoffice/master-android-release-64bit \
--with-poco-includes=/opt/poco-android/include:/opt/poco-android-64bit/include \
--with-poco-libs=/opt/poco-android/lib:/opt/poco-android-64bit/lib \
which triggers both 32bit and 64bit build.
It should be still possible to build just 32bit when used without the
semicolons - which is useful for the normal development.
Change-Id: I99145e57f0cc15f022c05d09f8c4ab275880d44b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/84312
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'android/README')
-rw-r--r-- | android/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/android/README b/android/README index 4606ef3a31..339593151c 100644 --- a/android/README +++ b/android/README @@ -82,6 +82,17 @@ build the native parts on Windows. + Open this 'android' subdir as a project + Build from Android Studio (Build -> Make Project) +== Building 32bit + 64bit combined .apk == + + + you need to build both a 32bit (armeabi-v7a) and 64bit (arm64-v8a) core + + you need to build both a 32bit and 64bit POCO + + and then provide paths to both to the ./configure, separated by a colon ':', + like: + + --with-lo-builddir=/local/libreoffice/master-android-release:/local/libreoffice/master-android-release-64bit \ + --with-poco-includes=/opt/poco-android/include:/opt/poco-android-64bit/include \ + --with-poco-libs=/opt/poco-android/lib:/opt/poco-android-64bit/lib \ + == Debugging == To debug the native code in Android Studio, you need the debugging symbols and |