From 6f95526a81d985e2df26eb5ceb771668a5cca91c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 7 Sep 2014 18:23:38 +0100 Subject: modetest: add Android build v2: include modetest rather than modeset. Spotted by Mauro Rossi and Paulo Sergio. Cc: Benjamin Gaignard Signed-off-by: Emil Velikov Reviewed-by: Jakob Bornecrantz (v1) --- Android.mk | 3 ++- tests/modetest/Android.mk | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/modetest/Android.mk diff --git a/Android.mk b/Android.mk index 4d02b05c..6f761135 100644 --- a/Android.mk +++ b/Android.mk @@ -56,7 +56,8 @@ SUBDIRS := \ intel \ nouveau \ radeon \ - libkms + libkms \ + tests/modetest 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 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) -- cgit v1.2.3