1ifneq (,$(findstring $(PLATFORM_VERSION), 4.4 4.4.1 4.4.2)) 2LOCAL_PATH:= $(call my-dir) 3 4include $(CLEAR_VARS) 5 6LOCAL_SRC_FILES:= \ 7 qcamera_test.cpp \ 8 9LOCAL_SHARED_LIBRARIES:= \ 10 libdl \ 11 libui \ 12 libutils \ 13 libcutils \ 14 libbinder \ 15 libmedia \ 16 libui \ 17 libgui \ 18 libcamera_client \ 19 libskia \ 20 libstagefright \ 21 libstagefright_foundation \ 22 23ifneq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 18 ))" ))) 24 25LOCAL_SHARED_LIBRARIES += \ 26 libmedia_native \ 27 28LOCAL_32_BIT_ONLY := true 29LOCAL_CFLAGS += -DUSE_JB_MR1 30 31endif 32 33LOCAL_C_INCLUDES += \ 34 frameworks/base/include/ui \ 35 frameworks/base/include/surfaceflinger \ 36 frameworks/base/include/camera \ 37 frameworks/base/include/media \ 38 external/skia/include/core \ 39 external/skia/include/images \ 40 hardware/qcom/display/libgralloc \ 41 frameworks/av/include/media/stagefright \ 42 frameworks/native/include/media/openmax \ 43 44LOCAL_MODULE:= camera_test 45LOCAL_MODULE_TAGS:= tests 46 47LOCAL_CFLAGS += -Wall -fno-short-enums -O0 48 49LOCAL_32_BIT_ONLY := true 50include $(BUILD_EXECUTABLE) 51 52endif 53