Home | History | Annotate | Download | only in framebuffer
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_SRC_FILES:= \
      5 	refresh.c
      6 
      7 LOCAL_SHARED_LIBRARIES := \
      8 	libcutils
      9 
     10 LOCAL_MODULE:= test-fb-refresh
     11 
     12 LOCAL_MODULE_TAGS := optional
     13 
     14 ifeq ($(TARGET_SIMULATOR),true)
     15   ifeq ($(HOST_OS),linux)
     16     # need this for clock_gettime()
     17     LOCAL_LDLIBS += -lrt
     18   endif
     19 endif
     20 
     21 include $(BUILD_EXECUTABLE)
     22 
     23 ##
     24 
     25 ifneq ($(TARGET_SIMULATOR),true)
     26 include $(CLEAR_VARS)
     27 LOCAL_SRC_FILES := fb_test.c
     28 LOCAL_MODULE = test-fb-simple
     29 LOCAL_MODULE_TAGS := optional
     30 LOCAL_FORCE_STATIC_EXECUTABLE := true
     31 LOCAL_STATIC_LIBRARIES := libc
     32 include $(BUILD_EXECUTABLE)
     33 
     34 include $(CLEAR_VARS)
     35 LOCAL_SRC_FILES := mdp_test.c
     36 LOCAL_MODULE = test-mdp
     37 LOCAL_MODULE_TAGS := optional
     38 LOCAL_FORCE_STATIC_EXECUTABLE := true
     39 LOCAL_STATIC_LIBRARIES := libc
     40 include $(BUILD_EXECUTABLE)
     41 
     42 endif # sim
     43