summaryrefslogtreecommitdiff
path: root/basebmp/CppunitTest_basebmp.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-23 22:23:33 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-23 22:26:01 +0300
commita1aed54fee058fdedb7d50b96291af701a327e57 (patch)
tree6905adb5b1612dbbeced9e28dbb4010b0a9b9120 /basebmp/CppunitTest_basebmp.mk
parent0d2ed78dad772e62ce8e50be95e445a86742ab9b (diff)
Build basebmp as a static library for Android
Reduces shared library count by one... This is tedious. Change-Id: I3bdc0a5c4ee4cabf9bbcedc469ca6e94d0103d6b
Diffstat (limited to 'basebmp/CppunitTest_basebmp.mk')
-rw-r--r--basebmp/CppunitTest_basebmp.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/basebmp/CppunitTest_basebmp.mk b/basebmp/CppunitTest_basebmp.mk
index cbdfef63a0c1..f11b46297e30 100644
--- a/basebmp/CppunitTest_basebmp.mk
+++ b/basebmp/CppunitTest_basebmp.mk
@@ -14,8 +14,17 @@ $(eval $(call gb_CppunitTest_set_include,basebmp_cpputest,\
$$(INCLUDE) \
))
+ifeq ($(OS),ANDROID)
+$(eval $(call gb_CppunitTest_use_static_libraries,basebmp_cpputest,\
+ basebmp \
+))
+else
$(eval $(call gb_CppunitTest_use_libraries,basebmp_cpputest,\
basebmp \
+))
+endif
+
+$(eval $(call gb_CppunitTest_use_libraries,basebmp_cpputest,\
basegfx \
sal \
$(gb_STDLIBS) \