libcsc: use native OMX header if needed
authorEthan Chen <intervigil@gmail.com>
Tue, 27 Aug 2013 22:04:02 +0000 (15:04 -0700)
committerEthan Chen <intervigil@gmail.com>
Tue, 27 Aug 2013 22:04:02 +0000 (15:04 -0700)
libcsc/Android.mk

index 00b1f5b6b3157e9c36ce9639f60e8ce92f954520..82d08df19091c2c30b439dcf73fddf942ce0a665 100644 (file)
@@ -11,7 +11,12 @@ LOCAL_SRC_FILES := \
 
 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
 
-LOCAL_C_INCLUDES := \
+ifneq ($(BOARD_USE_KHRONOS_OMX_HEADER),true)
+LOCAL_C_INCLUDES += \
+       frameworks/native/include/media/openmax
+endif
+
+LOCAL_C_INCLUDES += \
        system/core/include \
        hardware/samsung_slsi/openmax/include/khronos \
        hardware/samsung_slsi/openmax/include/$(OMX_NAME) \