[Libreoffice-commits] core.git: Makefile.in

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Thu Nov 30 12:59:55 UTC 2017


 Makefile.in |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 5cb5516c0d8928bebbdb3bfaa2cefd43b159ccca
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Thu Nov 30 13:52:40 2017 +0100

    have "make clean" also remove android's/gradle's output dirs
    
    esp. removing the jniLib one is important, as otherwise it is easy to
    package both x86 as well as arm libs into the apk, making it huuuge :-)
    
    Change-Id: I6364b82800a449682b618f0bb98a47825dcb0742

diff --git a/Makefile.in b/Makefile.in
index 6a1856a0e8e9..c16e1f8dc328 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -178,6 +178,14 @@ clean-build:
 ifneq ($(CROSS_COMPILING),)
 	rm -fr $(INSTDIR_FOR_BUILD)
 	rm -fr $(WORKDIR_FOR_BUILD)
+ifeq ($(OS),ANDROID)
+	rm -fr $(SRCDIR)/android/source/obj
+	rm -fr $(SRCDIR)/android/source/jniLibs
+	rm -fr $(SRCDIR)/android/source/build
+	rm -fr $(SRCDIR)/android/source/assets
+	rm -fr $(SRCDIR)/android/source/assets_fullUI
+	rm -fr $(SRCDIR)/android/source/assets_strippedUI
+endif
 endif
 
 include $(SRCDIR)/compilerplugins/Makefile.mk


More information about the Libreoffice-commits mailing list