You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hardware_samsung/exynos/multimedia/openmax/component/video/enc/h264/Android.mk

45 lines
1.1 KiB

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := \
SEC_OMX_H264enc.c \
library_register.c
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE := libOMX.SEC.AVC.Encoder
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/omx
LOCAL_CFLAGS :=
ifeq ($(BOARD_NONBLOCK_MODE_PROCESS), true)
LOCAL_CFLAGS += -DNONBLOCK_MODE_PROCESS
endif
ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
LOCAL_CFLAGS += -DUSE_METADATABUFFERTYPE
endif
LOCAL_ARM_MODE := arm
LOCAL_STATIC_LIBRARIES := libSEC_OMX_Venc libsecosal libsecbasecomponent \
libseccscapi
LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
libSEC_OMX_Resourcemanager
ifeq ($(TARGET_SOC),exynos4x12)
LOCAL_SHARED_LIBRARIES += libsecmfcdecapi libsecmfcencapi
else
LOCAL_STATIC_LIBRARIES += libsecmfcapi
endif
LOCAL_C_INCLUDES := $(SEC_OMX_INC)/khronos \
$(SEC_OMX_INC)/sec \
$(SEC_OMX_TOP)/osal \
$(SEC_OMX_TOP)/core \
$(SEC_OMX_COMPONENT)/common \
$(SEC_OMX_COMPONENT)/video/enc \
$(TARGET_OUT_HEADERS)/$(SEC_COPY_HEADERS_TO)
include $(BUILD_SHARED_LIBRARY)