Home | History | Annotate | Download | only in test
      1 ifneq (,$(findstring $(PLATFORM_VERSION), 4.4 4.4.1 4.4.2))
      2 LOCAL_PATH:= $(call my-dir)
      3 
      4 include $(CLEAR_VARS)
      5 
      6 LOCAL_SRC_FILES:= \
      7     qcamera_test.cpp \
      8 
      9 LOCAL_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 
     23 ifneq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 18 ))" )))
     24 
     25 LOCAL_SHARED_LIBRARIES += \
     26     libmedia_native \
     27 
     28 LOCAL_32_BIT_ONLY := true
     29 LOCAL_CFLAGS += -DUSE_JB_MR1
     30 
     31 endif
     32 
     33 LOCAL_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 
     44 LOCAL_MODULE:= camera_test
     45 LOCAL_MODULE_TAGS:= tests
     46 
     47 LOCAL_CFLAGS += -Wall -fno-short-enums -O0
     48 
     49 LOCAL_32_BIT_ONLY := true
     50 include $(BUILD_EXECUTABLE)
     51 
     52 endif
     53