summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bindings/python/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/python/Android.mk b/bindings/python/Android.mk
index 977ffb7..fa5b7b8 100644
--- a/bindings/python/Android.mk
+++ b/bindings/python/Android.mk
@@ -48,7 +48,7 @@ LOCAL_SHARED_LIBRARIES := libparameter_host
LOCAL_STATIC_LIBRARIES := libxmlserializer_host
LOCAL_C_INCLUDES := \
- prebuilts/python/linux-x86/2.7.5/include/python2.7 \
+ prebuilts/python/$(HOST_PREBUILT_TAG)/2.7.5/include/python2.7 \
$(HOST_OUT_HEADERS)/parameter
# The 'unused-but-set-variable' warning must be disabled because SWIG generates
@@ -82,7 +82,7 @@ $(generated-sources-dir)/pfw_wrap.cxx: $(LOCAL_PATH)/pfw.i
@echo "Generating Python binding files"
mkdir -p $(dir $@) # surprisingly, path is not generated by build system
mkdir -p $(HOST_LIBRARY_PATH)
- prebuilts/misc/linux-x86_64/swig/swig \
+ prebuilts/misc/$(HOST_OS)-$(HOST_ARCH)/swig/swig \
-Iprebuilts/misc/common/swig/include/2.0.11/python/ \
-Iprebuilts/misc/common/swig/include/2.0.11/ \
-Wall -Werror -v -python -c++ -outdir $(HOST_LIBRARY_PATH)/ -o $@ $^