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.
40 lines
951 B
40 lines
951 B
13 years ago
|
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 \
|
||
13 years ago
|
libseccscapi libsecmfcapi
|
||
13 years ago
|
LOCAL_SHARED_LIBRARIES := libc libdl libcutils libutils libui \
|
||
13 years ago
|
libSEC_OMX_Resourcemanager
|
||
13 years ago
|
|
||
|
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)
|