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