2012-03-24 16:38:29 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
SEC_OSAL_Android.cpp \
|
|
|
|
SEC_OSAL_Event.c \
|
|
|
|
SEC_OSAL_Queue.c \
|
|
|
|
SEC_OSAL_ETC.c \
|
|
|
|
SEC_OSAL_Mutex.c \
|
|
|
|
SEC_OSAL_Thread.c \
|
|
|
|
SEC_OSAL_Memory.c \
|
|
|
|
SEC_OSAL_Semaphore.c \
|
|
|
|
SEC_OSAL_Library.c \
|
|
|
|
SEC_OSAL_Log.c
|
|
|
|
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
LOCAL_MODULE := libsecosal
|
|
|
|
|
2018-08-13 20:39:50 +00:00
|
|
|
LOCAL_CFLAGS := -Wno-error
|
2012-03-24 16:38:29 +00:00
|
|
|
|
2017-09-06 19:08:35 +00:00
|
|
|
ifeq ($(TARGET_NEEDS_EXYNOS4_ENHANCEMENTS),true)
|
|
|
|
LOCAL_CFLAGS += -DEXYNOS4_ENHANCEMENTS
|
|
|
|
endif
|
|
|
|
|
2012-05-20 10:00:36 +00:00
|
|
|
ifeq ($(BOARD_USE_V4L2), false)
|
2012-03-24 16:38:29 +00:00
|
|
|
ifeq ($(BOARD_USE_S3D_SUPPORT), true)
|
|
|
|
LOCAL_CFLAGS += -DS3D_SUPPORT
|
|
|
|
endif
|
2012-05-20 10:00:36 +00:00
|
|
|
endif
|
2012-03-24 16:38:29 +00:00
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES :=
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils \
|
|
|
|
libui \
|
|
|
|
libhardware \
|
|
|
|
libandroid_runtime \
|
|
|
|
libbinder \
|
|
|
|
libmedia
|
|
|
|
|
2012-05-20 10:00:36 +00:00
|
|
|
LOCAL_C_INCLUDES := $(SEC_OMX_INC)/khronos \
|
2012-03-24 16:38:29 +00:00
|
|
|
$(SEC_OMX_INC)/sec \
|
|
|
|
$(SEC_OMX_TOP)/osal \
|
|
|
|
$(SEC_OMX_COMPONENT)/common \
|
2012-05-20 10:00:36 +00:00
|
|
|
$(SEC_OMX_COMPONENT)/video/dec
|
2012-03-24 16:38:29 +00:00
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|