From 3b9e8004d162344b1728679994eb66c5c205fd11 Mon Sep 17 00:00:00 2001 From: Alberto96 Date: Tue, 31 Mar 2015 00:05:44 +0300 Subject: [PATCH] mpeg2 + vc1: Add kernel headers to include path Change-Id: I382a9189fd4a85b56cfb2f3e89f59eef79c7ad58 --- component/video/dec/mpeg2/Android.mk | 4 ++++ component/video/dec/vc1/Android.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/component/video/dec/mpeg2/Android.mk b/component/video/dec/mpeg2/Android.mk index e6d869b..e3dff53 100644 --- a/component/video/dec/mpeg2/Android.mk +++ b/component/video/dec/mpeg2/Android.mk @@ -46,6 +46,7 @@ LOCAL_SHARED_LIBRARIES += libexynosgscaler endif LOCAL_C_INCLUDES := \ + $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ $(EXYNOS_OMX_INC)/exynos \ $(EXYNOS_OMX_TOP)/osal \ $(EXYNOS_OMX_TOP)/core \ @@ -55,6 +56,9 @@ LOCAL_C_INCLUDES := \ $(TOP)/hardware/samsung_slsi/exynos/include \ $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include +LOCAL_ADDITIONAL_DEPENDENCIES += \ + $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr + ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true) LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER LOCAL_C_INCLUDES += $(EXYNOS_OMX_INC)/khronos diff --git a/component/video/dec/vc1/Android.mk b/component/video/dec/vc1/Android.mk index 53e13b8..0615133 100644 --- a/component/video/dec/vc1/Android.mk +++ b/component/video/dec/vc1/Android.mk @@ -46,6 +46,7 @@ LOCAL_SHARED_LIBRARIES += libexynosgscaler endif LOCAL_C_INCLUDES := \ + $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ $(EXYNOS_OMX_INC)/exynos \ $(EXYNOS_OMX_TOP)/osal \ $(EXYNOS_OMX_TOP)/core \ @@ -55,6 +56,9 @@ LOCAL_C_INCLUDES := \ $(TOP)/hardware/samsung_slsi/exynos/include \ $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include +LOCAL_ADDITIONAL_DEPENDENCIES += \ + $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr + ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true) LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER LOCAL_C_INCLUDES += $(EXYNOS_OMX_INC)/khronos -- 2.20.1