From 1ffb78643048f34b37d3a7a1c677aadd3262b3a8 Mon Sep 17 00:00:00 2001 From: Ethan Chen Date: Tue, 27 Aug 2013 15:04:02 -0700 Subject: [PATCH] libcsc: use native OMX header if needed --- libcsc/Android.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libcsc/Android.mk b/libcsc/Android.mk index 00b1f5b..82d08df 100644 --- a/libcsc/Android.mk +++ b/libcsc/Android.mk @@ -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) \ -- 2.20.1