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 $(LOCAL_PATH)/../mm-camera-interface/inc \ 22 23ifeq ($(strip $(TARGET_USES_ION)),true) 24 LOCAL_CFLAGS += -DUSE_ION 25endif 26 27 28LOCAL_SRC_FILES := \ 29 src/mm_lib2d.c 30 31LOCAL_MODULE := libmmlib2d_interface 32LOCAL_PRELINK_MODULE := false 33LOCAL_SHARED_LIBRARIES := libdl libcutils liblog libmmcamera_interface 34LOCAL_MODULE_TAGS := optional 35LOCAL_VENDOR_MODULE := true 36 37LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 38include $(BUILD_SHARED_LIBRARY) 39 40LOCAL_PATH := $(OLD_LOCAL_PATH) 41