summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-07 18:23:38 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-28 17:09:34 +0100
commit6f95526a81d985e2df26eb5ceb771668a5cca91c (patch)
tree2f49ceafe59a60ad6d73084fca26b1655c81375b /tests
parentfea3831133da26049cbfb5105924dfb839e926c4 (diff)
downloadlibdrm-6f95526a81d985e2df26eb5ceb771668a5cca91c.tar.gz
libdrm-6f95526a81d985e2df26eb5ceb771668a5cca91c.tar.bz2
libdrm-6f95526a81d985e2df26eb5ceb771668a5cca91c.zip
modetest: add Android build
v2: include modetest rather than modeset. Spotted by Mauro Rossi and Paulo Sergio. Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> (v1)
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/Android.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/modetest/Android.mk b/tests/modetest/Android.mk
new file mode 100644
index 00000000..0a32b5fa
--- /dev/null
+++ b/tests/modetest/Android.mk
@@ -0,0 +1,14 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+include $(LOCAL_PATH)/Makefile.sources
+
+LOCAL_SRC_FILES := $(MODETEST_FILES)
+
+LOCAL_MODULE := modetest
+
+LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
+
+LOCAL_SHARED_LIBRARIES := libdrm libkms
+
+include $(BUILD_EXECUTABLE)