summaryrefslogtreecommitdiff
path: root/tests/framebuffer/Android.mk
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:08:09 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:08:09 -0800
commitab8beedeb70c6941e0ff68014d8db64cee4ef15d (patch)
tree605fac439e98d54240d6cbe0cc9090ed6d97cab5 /tests/framebuffer/Android.mk
parent7341494707810f709855ea85ce03a8ec3ac8dbaf (diff)
downloadextras-ab8beedeb70c6941e0ff68014d8db64cee4ef15d.tar.gz
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'tests/framebuffer/Android.mk')
-rw-r--r--tests/framebuffer/Android.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/framebuffer/Android.mk b/tests/framebuffer/Android.mk
new file mode 100644
index 00000000..d6a8537d
--- /dev/null
+++ b/tests/framebuffer/Android.mk
@@ -0,0 +1,33 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ refresh.c
+
+LOCAL_SHARED_LIBRARIES := \
+ libcutils
+
+LOCAL_MODULE:= test-fb-refresh
+
+LOCAL_MODULE_TAGS := tests
+
+ifeq ($(TARGET_SIMULATOR),true)
+ ifeq ($(HOST_OS),linux)
+ # need this for clock_gettime()
+ LOCAL_LDLIBS += -lrt
+ endif
+endif
+
+include $(BUILD_EXECUTABLE)
+
+##
+
+ifneq ($(TARGET_SIMULATOR),true)
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := fb_test.c
+LOCAL_MODULE = test-fb-simple
+LOCAL_MODULE_TAGS := tests
+LOCAL_FORCE_STATIC_EXECUTABLE := true
+LOCAL_STATIC_LIBRARIES := libc
+include $(BUILD_EXECUTABLE)
+endif # sim