android: disable packaging of un-needed UI files.
Appears to save ~10Mb of apk size. Change-Id: I7c49da979e2868628bf3cf07937e898d717a5071
This commit is contained in:
@@ -134,9 +134,15 @@ copy-stuff:
|
|||||||
assets
|
assets
|
||||||
cp $(WORKDIR)/ComponentTarget/i18npool/util/i18npool.component assets/ComponentTarget/i18npool/util
|
cp $(WORKDIR)/ComponentTarget/i18npool/util/i18npool.component assets/ComponentTarget/i18npool/util
|
||||||
#
|
#
|
||||||
|
rm -Rf assets/share # pre-clean it
|
||||||
mkdir -p assets/share/config
|
mkdir -p assets/share/config
|
||||||
cp -R $(INSTDIR)/share/registry assets/share
|
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
|
mkdir -p assets/unpack/program
|
||||||
echo '[Bootstrap]' > assets/unpack/program/sofficerc
|
echo '[Bootstrap]' > assets/unpack/program/sofficerc
|
||||||
|
@@ -9,6 +9,7 @@ all: build-ant
|
|||||||
# The package of this app
|
# The package of this app
|
||||||
APP_PACKAGE=org.libreoffice
|
APP_PACKAGE=org.libreoffice
|
||||||
|
|
||||||
|
DISABLE_UI=TRUE
|
||||||
BOOTSTRAPDIR=../../Bootstrap
|
BOOTSTRAPDIR=../../Bootstrap
|
||||||
include $(BOOTSTRAPDIR)/Makefile.shared
|
include $(BOOTSTRAPDIR)/Makefile.shared
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user