OpenMAX: Add kernel headers to include path
authorEthan Chen <intervigil@gmail.com>
Thu, 24 Oct 2013 23:47:57 +0000 (16:47 -0700)
committerJan Altensen <info@stricted.net>
Sun, 5 Apr 2020 01:04:49 +0000 (03:04 +0200)
Change-Id: Ie62c281491e7fd93b0cd6e3f16b8b969f8cbb14e

component/common/Android.mk
component/video/dec/Android.mk
component/video/dec/h264/Android.mk
component/video/dec/mpeg4/Android.mk
component/video/dec/vp8/Android.mk
component/video/enc/Android.mk
component/video/enc/h264/Android.mk
component/video/enc/mpeg4/Android.mk
core/Android.mk
osal/Android.mk

index 5318c83991d16c94d17c64a9ad1ef77145f76eb7..12ea7f8c1316a0e4ecf65b7efe1c0f1bd102ad12 100644 (file)
@@ -15,9 +15,13 @@ LOCAL_STATIC_LIBRARIES := libExynosOMX_OSAL
 LOCAL_SHARED_LIBRARIES := libcutils libutils
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal
 
+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
@@ -49,9 +53,13 @@ LOCAL_STATIC_LIBRARIES := libExynosOMX_OSAL
 LOCAL_SHARED_LIBRARIES := libcutils libutils
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal
 
+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
index 80eb32bb6bfe20ccd5fae71d67f3a700e0da945b..97d0310dd747c0c7c19e9a1418a5aa891ab40a18 100644 (file)
@@ -10,6 +10,7 @@ LOCAL_ARM_MODE := arm
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -19,6 +20,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
 
+LOCAL_ADDITIONAL_DEPENDENCIES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
 LOCAL_STATIC_LIBRARIES := libExynosVideoApi
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
index a45e78fec4e7e5ff89972e1a421e512000c24d41..5142b9c36f1ea3bfc34e02b2d9b6e2532fb0a032 100644 (file)
@@ -55,6 +55,7 @@ LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
        libExynosOMX_Resourcemanager libcsc libexynosv4l2 libion libhardware
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -64,6 +65,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
 
+LOCAL_ADDITIONAL_DEPENDENCIES += \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
 ifeq ($(BOARD_USE_SKYPE_HD), true)
 LOCAL_CFLAGS += -DUSE_SKYPE_HD
 LOCAL_CFLAGS += -DBUILD_DEC
index 31c771d0b1bde9807b603bde5f4ed665dbd34c15..b5b5e1bdd3c483b27b8d6a5d663e73f4f9b4319e 100644 (file)
@@ -45,6 +45,7 @@ LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
        libExynosOMX_Resourcemanager libcsc libexynosv4l2 libion libhardware
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -54,6 +55,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/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
index 5c7cea7d4aa1bde9f516799eaee3a523cbe09ffb..40fc513db6bea4c3b380fcc0fa5257e2f32b3fa8 100644 (file)
@@ -42,6 +42,7 @@ LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
        libExynosOMX_Resourcemanager libcsc libexynosv4l2 libion libhardware
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -51,6 +52,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/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
index 6db368f899452e88cb0667d476248dd0f15cf2ee..55ae45b290ffdd82aa470e13de357f6f3d1ea1c0 100644 (file)
@@ -10,6 +10,7 @@ LOCAL_ARM_MODE := arm
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -19,6 +20,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/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
index 59ab1bef6cda667855a9d97794b1bf3976c4f1f9..98aabd6cb075f93b1c7033ad6a92fb71de1a8ec8 100644 (file)
@@ -50,6 +50,7 @@ LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
        libExynosOMX_Resourcemanager libcsc libexynosv4l2 libion libhardware
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -59,6 +60,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
 
+LOCAL_ADDITIONAL_DEPENDENCIES += \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
 ifeq ($(BOARD_USE_SKYPE_HD), true)
 LOCAL_CFLAGS += -DUSE_SKYPE_HD
 LOCAL_CFLAGS += -DBUILD_ENC
index 95a8622f7eb48fd80f2efe70b538b2bfb985b65b..ff2b1a1efad68ed04b86e1a6744bff4940e31573 100644 (file)
@@ -45,6 +45,7 @@ LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
        libExynosOMX_Resourcemanager libcsc libexynosv4l2 libion libhardware
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/core \
@@ -54,6 +55,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/exynos/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/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
index 033857f9c248cff004fe9e94df4687e0184c49b7..d9d368dfcb626af0cf9b3fe75d0832f0312611df 100644 (file)
@@ -19,10 +19,14 @@ LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils \
        libExynosOMX_Resourcemanager
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
        $(EXYNOS_OMX_TOP)/component/common
 
+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
index 6bee8bcabefcfde5bd5e695a44df95f755d12ad8..e954d8dca485351b74fcbab0b793fb033299f1b1 100644 (file)
@@ -158,6 +158,7 @@ LOCAL_SHARED_LIBRARIES := libhardware
 LOCAL_STATIC_LIBRARIES := liblog libcutils libExynosVideoApi
 
 LOCAL_C_INCLUDES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
        $(EXYNOS_OMX_TOP)/core \
        $(EXYNOS_OMX_INC)/exynos \
        $(EXYNOS_OMX_TOP)/osal \
@@ -169,6 +170,9 @@ LOCAL_C_INCLUDES := \
        $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include \
        $(TOP)/hardware/samsung_slsi/exynos/include
 
+LOCAL_ADDITIONAL_DEPENDENCIES := \
+       $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
+
 ifeq ($(BOARD_USE_ANDROID), true)
 LOCAL_C_INCLUDES += \
        $(ANDROID_MEDIA_INC)/hardware \