aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2015-04-24 17:14:02 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2015-04-28 01:19:21 +0000
commit0f2c6e0d3ba5a37dd9c16fe6c20ab0fdfc79298f (patch)
tree77af2e3f6c2ad4d1a06196ed2b961f0df12b255e
parent009c8fa7be02f9a986e5cf078ce40e1188738c89 (diff)
downloadexternal_parameter-framework-0f2c6e0d3ba5a37dd9c16fe6c20ab0fdfc79298f.zip
external_parameter-framework-0f2c6e0d3ba5a37dd9c16fe6c20ab0fdfc79298f.tar.gz
external_parameter-framework-0f2c6e0d3ba5a37dd9c16fe6c20ab0fdfc79298f.tar.bz2
Fix mac build: do not hardcode linux paths
Change-Id: I70996fcbc0c0d60c51fde207dfd8cae25265c79b
-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 $@ $^