1#encoder int test 2OLD_LOCAL_PATH := $(LOCAL_PATH) 3MM_JPEG_TEST_PATH := $(call my-dir) 4 5include $(LOCAL_PATH)/../../common.mk 6include $(CLEAR_VARS) 7LOCAL_PATH := $(MM_JPEG_TEST_PATH) 8LOCAL_MODULE_TAGS := optional 9 10LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 11LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter 12LOCAL_CFLAGS += -D_ANDROID_ 13 14ifeq ($(strip $(TARGET_USES_ION)),true) 15LOCAL_CFLAGS += -DUSE_ION 16endif 17 18# System header file path prefix 19LOCAL_CFLAGS += -DSYSTEM_HEADER_PREFIX=sys 20 21LOCAL_HAL_TOP := $(LOCAL_PATH)/../../../.. 22 23OMX_HEADER_DIR := frameworks/native/include/media/openmax 24OMX_CORE_DIR := $(LOCAL_HAL_TOP)/mm-image-codec 25 26LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 27LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 28LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 29LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../mm-camera-interface/inc 30LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 31LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 32LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 33 34LOCAL_C_INCLUDES+= $(kernel_includes) 35LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 36 37LOCAL_SRC_FILES := mm_jpeg_test.c 38 39LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 40LOCAL_MODULE := mm-jpeg-interface-test 41LOCAL_PRELINK_MODULE := false 42LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libmmjpeg_interface 43 44include $(BUILD_EXECUTABLE) 45 46 47 48#decoder int test 49 50include $(CLEAR_VARS) 51LOCAL_PATH := $(MM_JPEG_TEST_PATH) 52LOCAL_MODULE_TAGS := optional 53 54LOCAL_CFLAGS := -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID 55LOCAL_CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter 56 57LOCAL_CFLAGS += -D_ANDROID_ 58 59ifeq ($(strip $(TARGET_USES_ION)),true) 60LOCAL_CFLAGS += -DUSE_ION 61endif 62 63# System header file path prefix 64LOCAL_CFLAGS += -DSYSTEM_HEADER_PREFIX=sys 65 66OMX_HEADER_DIR := frameworks/native/include/media/openmax 67OMX_CORE_DIR := $(LOCAL_HAL_TOP)/mm-image-codec 68 69LOCAL_C_INCLUDES := $(MM_JPEG_TEST_PATH) 70LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../inc 71LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../common 72LOCAL_C_INCLUDES += $(MM_JPEG_TEST_PATH)/../../mm-camera-interface/inc 73LOCAL_C_INCLUDES += $(OMX_HEADER_DIR) 74LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qexif 75LOCAL_C_INCLUDES += $(OMX_CORE_DIR)/qomx_core 76 77LOCAL_C_INCLUDES+= $(kernel_includes) 78LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps) 79 80LOCAL_SRC_FILES := mm_jpegdec_test.c 81 82LOCAL_32_BIT_ONLY := $(BOARD_QTI_CAMERA_32BIT_ONLY) 83LOCAL_MODULE := mm-jpegdec-interface-test 84LOCAL_PRELINK_MODULE := false 85LOCAL_SHARED_LIBRARIES := liblog libcutils libdl libmmjpeg_interface 86 87include $(BUILD_EXECUTABLE) 88 89LOCAL_PATH := $(OLD_LOCAL_PATH) 90