diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/Bootstrap/Makefile.shared | 8 | ||||
-rw-r--r-- | android/experimental/LOAndroid3/Makefile | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/android/Bootstrap/Makefile.shared b/android/Bootstrap/Makefile.shared index a337a80a0bb2..b5ca272299ea 100644 --- a/android/Bootstrap/Makefile.shared +++ b/android/Bootstrap/Makefile.shared @@ -134,9 +134,15 @@ copy-stuff: assets cp $(WORKDIR)/ComponentTarget/i18npool/util/i18npool.component assets/ComponentTarget/i18npool/util # + rm -Rf assets/share # pre-clean it mkdir -p assets/share/config cp -R $(INSTDIR)/share/registry assets/share - cp -R $(INSTDIR)/share/config/soffice.cfg assets/share/config + if ! test z$(DISABLE_UI) = zTRUE; then \ + echo "Copying UI files into the apk"; \ + cp -R $(INSTDIR)/share/config/soffice.cfg assets/share/config; \ + else \ + echo "Skipping UI files"; \ + fi mkdir -p assets/unpack/program echo '[Bootstrap]' > assets/unpack/program/sofficerc diff --git a/android/experimental/LOAndroid3/Makefile b/android/experimental/LOAndroid3/Makefile index 49879c0a3414..a19fadc4e15c 100644 --- a/android/experimental/LOAndroid3/Makefile +++ b/android/experimental/LOAndroid3/Makefile @@ -9,6 +9,7 @@ all: build-ant # The package of this app APP_PACKAGE=org.libreoffice +DISABLE_UI=TRUE BOOTSTRAPDIR=../../Bootstrap include $(BOOTSTRAPDIR)/Makefile.shared |