summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-04-22 12:10:03 +0200
committerEric Laurent <elaurent@google.com>2015-04-23 10:20:59 -0700
commit4e69cce75acbdaf9cf2933c229908dc910f29a9f (patch)
treebb086894958789e8e2417a89b73b1ff91e539f78 /bindings
parent34a56231dd8313da1cf6509326be00a6bdb36465 (diff)
downloadexternal_parameter-framework-4e69cce75acbdaf9cf2933c229908dc910f29a9f.zip
external_parameter-framework-4e69cce75acbdaf9cf2933c229908dc910f29a9f.tar.gz
external_parameter-framework-4e69cce75acbdaf9cf2933c229908dc910f29a9f.tar.bz2
android/python bindings: force gcc and 32bits compilation
Since Android only provides a 32bits version of the python interpreter and libs, we need to compile for 32bits even on 64bits hosts. Also, since it seems that clang is the default compiler for host, we need to explicitely forbid it as long as the parameter-framework is compiled with gcc. Change-Id: I5d484c0e58c304680192f443acd81258de179e52 Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/python/Android.mk b/bindings/python/Android.mk
index 0558344..977ffb7 100644
--- a/bindings/python/Android.mk
+++ b/bindings/python/Android.mk
@@ -38,6 +38,11 @@ include $(CLEAR_VARS)
LOCAL_MODULE := _PyPfw
LOCAL_CPP_EXTENSION := .cxx
+# As long as the parameter-framework is compiled with gcc, we must avoid
+# compiling the bindings with clang and compile with gcc instead.
+LOCAL_CLANG := false
+# Android only provides a 32bit version of python.
+LOCAL_32_BIT_ONLY := true
LOCAL_SHARED_LIBRARIES := libparameter_host
LOCAL_STATIC_LIBRARIES := libxmlserializer_host