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