Android.mk revision e16cb84e2324f05334d18dcf5956f20f44262b62
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 := tests 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 := tests 30LOCAL_FORCE_STATIC_EXECUTABLE := true 31LOCAL_STATIC_LIBRARIES := libc 32include $(BUILD_EXECUTABLE) 33endif # sim 34