summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-11-30 13:52:40 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-11-30 13:57:01 +0100
commit5cb5516c0d8928bebbdb3bfaa2cefd43b159ccca (patch)
tree598d2d9d5c6e88c1629d7d0a1ac5234f871054ca /Makefile.in
parent36423d18267e2ef3373bfb162e9b2e8062d01dd4 (diff)
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
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 8 insertions, 0 deletions
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