summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-06 22:12:05 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-06 22:12:05 +0200
commit2ad9d21ac7111f6a3e68f55980f1308a32d3a954 (patch)
tree94a273d6a3e31f0238363135f14ca5f65f466c03 /solenv
parentea9a321d1229914c6342e032da19f47cbeb9de1b (diff)
Let's save a bit of disk space
Change-Id: I23c9d218792cd3debf30ea59c81e6687a656af31
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/android.mk b/solenv/gbuild/platform/android.mk
index 526c18cc4eab..690b886cad29 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