diff mbox

[09/18] modetest: add Android build

Message ID 1410125413-19465-10-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Emil Velikov Sept. 7, 2014, 9:30 p.m. UTC
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 Android.mk                |  3 ++-
 tests/modetest/Android.mk | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 tests/modetest/Android.mk
diff mbox

Patch

diff --git a/Android.mk b/Android.mk
index 4d02b05..63f031c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -56,7 +56,8 @@  SUBDIRS := \
 	intel \
 	nouveau \
 	radeon \
-	libkms
+	libkms \
+	tests/modeset
 
 mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS))
 include $(mkfiles)
diff --git a/tests/modetest/Android.mk b/tests/modetest/Android.mk
new file mode 100644
index 0000000..0a32b5f
--- /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)