summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-03-11 14:48:32 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2020-03-11 16:23:59 +0100
commit367431b6987b75e7a201499bfbd25a41c92a4a59 (patch)
treea5de13328677ee51c9150cfd7041f7fa58be3460 /android
parent7479b0f9e798549b8f84928d71ea2adc02d38ab8 (diff)
tdf#126909 android: include icons into APK
While default build config for Android Viewer caused the zip file(s) containing the icons to be built (e.g. 'distro-configs/LibreOfficeAndroid.conf' contains '--with-theme=colibre'), icons were not included in the APK. Do so now, which among others also makes page breaks shown in Android Viewer (as requested in tdf#126909). Change-Id: Ie16ff4b483287367b9f892ee614b3e5aa4d31820 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90330 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r--android/source/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/android/source/build.gradle b/android/source/build.gradle
index 0ed1659e9081..525782abc606 100644
--- a/android/source/build.gradle
+++ b/android/source/build.gradle
@@ -159,6 +159,13 @@ task copyAssets(type: Copy) {
from("${liboExampleDocument}") {
rename ".*", "example.odt"
}
+
+ // include icons
+ into 'assets/share/config'
+ from ("${liboInstdir}/share/config") {
+ includes = ["images_**.zip", ]
+ }
+
into('program') {
from "${liboInstdir}/program"
includes = ['services.rdb', 'services/services.rdb']