1 OLD_LOCAL_PATH := $(LOCAL_PATH) 2 MM_JPEG_TEST_PATH := $(call my-dir) 3 4 include $(CLEAR_VARS) 5 LOCAL_PATH := $(MM_JPEG_TEST_PATH) 6 LOCAL_MODULE_TAGS := optional 7 8 LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 9 LOCAL_CFLAGS += -Werror 10 LOCAL_CFLAGS += -D_ANDROID_ 11 LOCAL_CFLAGS += -include mm_jpeg_dbg.h 12 13 ifeq ($(strip $(TARGET_USES_ION)),true) 14 LOCAL_CFLAGS += -DUSE_ION 15 endif 16 17 OMX_HEADER_DIR := frameworks/native/include/media/openmax 18 OMX_CORE_DIR := device/asus/flo/camera/mm-image-codec 19 20 LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 21 LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 22 LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 23 LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 24 LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 25 LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 26 27 28 LOCAL_SRC_FILES := mm_jpeg_ionbuf.c 29 LOCAL_SRC_FILES += mm_jpeg_test.c 30 31 LOCAL_MODULE := mm-jpeg-interface-test 32 LOCAL_PRELINK_MODULE := false 33 LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libmmjpeg_interface 34 35 include $(BUILD_EXECUTABLE) 36 37 LOCAL_PATH := $(OLD_LOCAL_PATH) 38