From: Andrei Emeltchenko Date: Wed, 23 Oct 2013 13:42:17 +0000 (+0300) Subject: android: Use helper function for finding headers X-Git-Tag: android-x86-4.4-r3~7199 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6c47a0a0a6af526579f986c69b99f66c1172b8c6;p=android-x86%2Fexternal-bluetooth-bluez.git android: Use helper function for finding headers Using helper function allows us to overcome possible location change in future Android releases. This was inspired by Szymon Janc's comment to my previous patch. --- diff --git a/android/Android.mk b/android/Android.mk index dd9c36d5d..1f20e5737 100644 --- a/android/Android.mk +++ b/android/Android.mk @@ -75,7 +75,7 @@ LOCAL_SRC_FILES := \ hal-av.c \ LOCAL_C_INCLUDES += \ - system/core/include \ + $(call include-path-for, system-core) \ LOCAL_SHARED_LIBRARIES := \ libcutils \