1OLD_LOCAL_PATH := $(LOCAL_PATH) 2LOCAL_PATH := $(call my-dir) 3 4include $(LOCAL_PATH)/../../../common.mk 5include $(CLEAR_VARS) 6 7LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 8LOCAL_CFLAGS+= -D_ANDROID_ -DQCAMERA_REDEFINE_LOG 9 10LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter 11 12LOCAL_C_INCLUDES+= $(kernel_includes) 13LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 14 15IMGLIB_HEADER_PATH := $(TARGET_OUT_INTERMEDIATES)/include/mm-camera/imglib 16 17LOCAL_C_INCLUDES += \ 18 $(IMGLIB_HEADER_PATH) \ 19 $(LOCAL_PATH)/inc \ 20 $(LOCAL_PATH)/../common 21 22ifeq ($(strip $(TARGET_USES_ION)),true) 23 LOCAL_CFLAGS += -DUSE_ION 24endif 25 26 27LOCAL_SRC_FILES := \ 28 src/mm_lib2d.c 29 30LOCAL_MODULE := libmmlib2d_interface 31LOCAL_PRELINK_MODULE := false 32LOCAL_SHARED_LIBRARIES := libdl libcutils liblog 33LOCAL_MODULE_TAGS := optional 34 35LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 36include $(BUILD_SHARED_LIBRARY) 37 38LOCAL_PATH := $(OLD_LOCAL_PATH) 39