diff options
| author | Jean-Michel Trivi <jmtrivi@google.com> | 2015-04-24 17:14:02 -0700 |
|---|---|---|
| committer | Bill Yi <byi@google.com> | 2015-10-06 21:27:45 -0700 |
| commit | e9b968a8069a1b6e115fa1cefe3f396221859a87 (patch) | |
| tree | 5d9fc4b3549a6f1064778333f67035e6be8d5d5c | |
| parent | 102cd7204d52efb313157667ef0a2d697647f0c7 (diff) | |
| download | platform_external_parameter-framework-e9b968a8069a1b6e115fa1cefe3f396221859a87.tar.gz platform_external_parameter-framework-e9b968a8069a1b6e115fa1cefe3f396221859a87.tar.bz2 platform_external_parameter-framework-e9b968a8069a1b6e115fa1cefe3f396221859a87.zip | |
Fix mac build: do not hardcode linux paths
Change-Id: I70996fcbc0c0d60c51fde207dfd8cae25265c79b
| -rw-r--r-- | bindings/python/Android.mk | 4 |
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 $@ $^ |
