1ifneq ($(BUILD_TINY_ANDROID),true) 2 3ROOT_DIR := $(call my-dir) 4 5include $(CLEAR_VARS) 6LOCAL_PATH:= $(ROOT_DIR) 7 8# --------------------------------------------------------------------------------- 9# Common definitons 10# --------------------------------------------------------------------------------- 11 12libOmxVdpp-def := -D__alignx\(x\)=__attribute__\(\(__aligned__\(x\)\)\) 13libOmxVdpp-def += -D__align=__alignx 14libOmxVdpp-def += -Dinline=__inline 15libOmxVdpp-def += -g -O3 16libOmxVdpp-def += -DIMAGE_APPS_PROC 17libOmxVdpp-def += -D_ANDROID_ 18libOmxVdpp-def += -DCDECL 19libOmxVdpp-def += -DT_ARM 20libOmxVdpp-def += -DNO_ARM_CLZ 21libOmxVdpp-def += -UENABLE_DEBUG_LOW 22libOmxVdpp-def += -DENABLE_DEBUG_HIGH 23libOmxVdpp-def += -DENABLE_DEBUG_ERROR 24libOmxVdpp-def += -D_ANDROID_ICS_ 25libOmxVdpp-def += -UINPUT_BUFFER_LOG 26libOmxVdpp-def += -UOUTPUT_BUFFER_LOG 27libOmxVdpp-def += -DMAX_RES_1080P 28libOmxVdpp-def += -DMAX_RES_1080P_EBI 29 30ifeq ($(TARGET_USES_ION),true) 31libOmxVdpp-def += -DUSE_ION 32endif 33 34ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) 35vidpp-inc = $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 36endif 37 38# --------------------------------------------------------------------------------- 39# Make the Shared library (libOmxVdpp) 40# --------------------------------------------------------------------------------- 41 42include $(CLEAR_VARS) 43LOCAL_PATH:= $(ROOT_DIR) 44 45libmm-vidpp-inc += $(LOCAL_PATH)/inc 46libmm-vidpp-inc += $(OMX_VIDEO_PATH)/vidc/common/inc 47libmm-vidpp-inc += hardware/qcom/media/msm8996/mm-core/inc 48libmm-vidpp-inc += $(TARGET_OUT_HEADERS)/qcom/display 49libmm-vidpp-inc += frameworks/native/include/media/openmax 50libmm-vidpp-inc += frameworks/native/include/media/hardware 51libmm-vidpp-inc += $(vidpp-inc) 52libmm-vidpp-inc += frameworks/av/include/media/stagefright 53 54LOCAL_MODULE := libOmxVdpp 55LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 56LOCAL_LICENSE_CONDITIONS := notice 57LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE 58LOCAL_MODULE_TAGS := optional 59LOCAL_CFLAGS := $(libOmxVdpp-def) 60LOCAL_C_INCLUDES += $(libmm-vidpp-inc) 61 62LOCAL_PRELINK_MODULE := false 63LOCAL_SHARED_LIBRARIES := liblog libutils libbinder libcutils libdl libc 64 65LOCAL_SRC_FILES += src/omx_vdpp.cpp 66 67ifeq ($(TARGET_COMPILE_WITH_MSM_KERNEL),true) 68LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 69endif 70 71include $(BUILD_SHARED_LIBRARY) 72 73endif #BUILD_TINY_ANDROID 74 75# --------------------------------------------------------------------------------- 76# END 77# --------------------------------------------------------------------------------- 78