[Libreoffice-commits] .: solenv/gbuild
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jan 6 12:12:38 PST 2013
solenv/gbuild/platform/android.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 2ad9d21ac7111f6a3e68f55980f1308a32d3a954
Author: Tor Lillqvist <tml at iki.fi>
Date: Sun Jan 6 22:12:05 2013 +0200
Let's save a bit of disk space
Change-Id: I23c9d218792cd3debf30ea59c81e6687a656af31
diff --git a/solenv/gbuild/platform/android.mk b/solenv/gbuild/platform/android.mk
index 526c18c..690b886 100644
--- a/solenv/gbuild/platform/android.mk
+++ b/solenv/gbuild/platform/android.mk
@@ -108,9 +108,13 @@ endef
gb_CppunitTest_EXT := .a
+# No use for Cppunit targets now for Android (which would be just
+# static archives), they are just a waste of disk space.
define gb_LinkTarget__command
$(call gb_Output_announce,$(2),$(true),LNK,4)
-$(call gb_LinkTarget__command_staticlink,$(1))
+$(if $(filter CppunitTest,$(TARGETTYPE)), \
+ touch $(1), \
+ $(call gb_LinkTarget__command_staticlink,$(1)))
endef
endif
More information about the Libreoffice-commits
mailing list