OSDN Git Service

android: Use helper function for finding headers
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Wed, 23 Oct 2013 13:42:17 +0000 (16:42 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 23 Oct 2013 14:39:53 +0000 (17:39 +0300)
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.

android/Android.mk

index dd9c36d..1f20e57 100644 (file)
@@ -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 \