openmax: only build for insignal SLSI variant
authorEthan Chen <intervigil@gmail.com>
Tue, 27 Aug 2013 21:10:28 +0000 (14:10 -0700)
committerEthan Chen <intervigil@gmail.com>
Tue, 27 Aug 2013 21:20:23 +0000 (14:20 -0700)
Android.mk
component/video/dec/Android.mk
component/video/dec/h264/Android.mk
component/video/dec/mpeg2/Android.mk
component/video/dec/mpeg4/Android.mk
component/video/dec/vc1/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
osal/Android.mk

index fdce9ef188a5fe94185149b9f2fbd1e5180058a1..c871a4a35fec5b85df06e788e6e9f04dc5754a58 100644 (file)
@@ -1,5 +1,9 @@
 LOCAL_PATH := $(call my-dir)
 
+ifeq ($(TARGET_SLSI_VARIANT),insignal)
+
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 include $(CLEAR_VARS)
 
 BOARD_USE_ANB := true
@@ -17,9 +21,9 @@ EXYNOS_OMX_INC := $(EXYNOS_OMX_TOP)/include
 EXYNOS_OMX_COMPONENT := $(EXYNOS_OMX_TOP)/component
 
 EXYNOS_VIDEO_CODEC := \
-       hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/libcodec/video
+       hardware/samsung_slsi/$(PLATFORM_DIR)/libcodec/video
 EXYNOS_AUDIO_CODEC := \
-       hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/libcodec/audio
+       hardware/samsung_slsi/$(PLATFORM_DIR)/libcodec/audio
 
 include $(EXYNOS_OMX_TOP)/osal/Android.mk
 include $(EXYNOS_OMX_TOP)/core/Android.mk
@@ -46,3 +50,5 @@ endif
 ifeq ($(BOARD_USE_WMA_CODEC), true)
 include $(EXYNOS_OMX_COMPONENT)/audio/dec/wma/Android.mk
 endif
+
+endif
index 45ed2353ca3c0e386ed2891796091dca92c1bf96..be3fc0c68fb6554cc1b332a0f870b7fb61ce2d33 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_SRC_FILES := \
        Exynos_OMX_VdecControl.c \
        Exynos_OMX_Vdec.c
@@ -17,7 +19,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/dec \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 LOCAL_STATIC_LIBRARIES := libExynosVideoApi
 
index 7b25889f5d41ccba22030cd04f18c97e93c04a10..788da11bdca4fd6e33cd2a1b91d7ce59ff8c5825 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -47,7 +49,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/dec \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index d378baa20091f3cd6a18e3938dfee83e64a49d12..92b7e098e08d45308e4c117e6f3974f7a5e5b985 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -43,7 +45,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/dec \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index 26ab1706bbfe5f3aba59ecf2282879c264559ebc..12eb90eae1f8d7e9c8d97fcab06f4b4c9299e39e 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -43,7 +45,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/dec \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index d347c68554b0f1294078d61d7bf7a9cd3c771493..a180aa063fbddfb5da4399d385a18077a07aa652 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -43,7 +45,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/dec \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index 94baa5a8579443e70e6eb00ecd8f4dbb13573eaf..28133fc3b6ac7a4d2b9b009602a6036a2c235942 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -40,7 +42,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/dec \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index 3ed9b0d9f30809ee5dc43f5362361cf431b8dc0b..61471c3962800295e1c29482195059da1f80fffe 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_SRC_FILES := \
        Exynos_OMX_VencControl.c \
        Exynos_OMX_Venc.c
@@ -17,7 +19,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/enc \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index 6f4b902e7d3352579036bf5d7bf7ed70d680ed8d..b7e6f5c2a1ffaf4ef3a96de5ea4d09f3421c0118 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -45,7 +47,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/enc \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index 1ea4920815b77af0766ed530aa6f1cec0662d585..70423354d63978314ad3e125dd8d3ca95c948eee 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -40,7 +42,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/enc \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
index 2f654246ec1de9ddae7abf1bb9c06a4fb1e59ca3..9c36287cb94a10e538574d64a1a89ab135ed62b4 100644 (file)
@@ -1,6 +1,8 @@
 LOCAL_PATH := $(call my-dir)
 include $(CLEAR_VARS)
 
+PLATFORM_DIR := $(TARGET_BOARD_PLATFORM)-insignal
+
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_SRC_FILES := \
@@ -47,7 +49,7 @@ LOCAL_C_INCLUDES := \
        $(EXYNOS_OMX_COMPONENT)/video/enc \
        $(EXYNOS_VIDEO_CODEC)/v4l2/include \
        $(TOP)/hardware/samsung_slsi/exynos/include \
-       $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include \
+       $(TOP)/hardware/samsung_slsi/$(PLATFORM_DIR)/include \
        $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/include
 
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)