1 #encoder int test 2 OLD_LOCAL_PATH := $(LOCAL_PATH) 3 MM_JPEG_TEST_PATH := $(call my-dir) 4 5 include $(LOCAL_PATH)/../../common.mk 6 include $(CLEAR_VARS) 7 LOCAL_PATH := $(MM_JPEG_TEST_PATH) 8 LOCAL_MODULE_TAGS := optional 9 10 LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 11 LOCAL_CFLAGS += -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 OMX_HEADER_DIR := frameworks/native/include/media/openmax 19 OMX_CORE_DIR := device/moto/shamu/camera/mm-image-codec 20 21 LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 22 LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 23 LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 24 LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 25 LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 26 LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 27 28 LOCAL_C_INCLUDES+= $(kernel_includes) 29 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 30 31 LOCAL_SRC_FILES := mm_jpeg_test.c 32 33 LOCAL_32_BIT_ONLY := true 34 LOCAL_MODULE := mm-jpeg-interface-test 35 LOCAL_PRELINK_MODULE := false 36 LOCAL_SHARED_LIBRARIES := libcutils libdl libmmjpeg_interface 37 38 include $(BUILD_EXECUTABLE) 39 40 41 42 #decoder int test 43 44 include $(CLEAR_VARS) 45 LOCAL_PATH := $(MM_JPEG_TEST_PATH) 46 LOCAL_MODULE_TAGS := optional 47 48 LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 49 LOCAL_CFLAGS += -Werror -Wno-unused-parameter 50 LOCAL_CFLAGS += -D_ANDROID_ 51 52 ifeq ($(strip $(TARGET_USES_ION)),true) 53 LOCAL_CFLAGS += -DUSE_ION 54 endif 55 56 OMX_HEADER_DIR := frameworks/native/include/media/openmax 57 OMX_CORE_DIR := device/moto/shamu/camera/mm-image-codec 58 59 LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 60 LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 61 LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 62 LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 63 LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 64 LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 65 66 LOCAL_C_INCLUDES+= $(kernel_includes) 67 LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 68 69 LOCAL_SRC_FILES := mm_jpegdec_test.c 70 71 LOCAL_32_BIT_ONLY := true 72 LOCAL_MODULE := mm-jpegdec-interface-test 73 LOCAL_PRELINK_MODULE := false 74 LOCAL_SHARED_LIBRARIES := libcutils libdl libmmjpeg_interface 75 76 include $(BUILD_EXECUTABLE) 77 78 LOCAL_PATH := $(OLD_LOCAL_PATH) 79