proptest: Add Android support

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Thierry Reding 2015-12-09 18:37:41 +01:00 committed by Emil Velikov
parent 4664d657ea
commit ca6c5f8c81
3 changed files with 19 additions and 2 deletions

13
tests/proptest/Android.mk Normal file
View File

@ -0,0 +1,13 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include $(LOCAL_PATH)/Makefile.sources
LOCAL_SRC_FILES := $(PROPTEST_FILES)
LOCAL_MODULE := proptest
LOCAL_SHARED_LIBRARIES := libdrm
LOCAL_STATIC_LIBRARIES := libdrm_util
include $(BUILD_EXECUTABLE)

View File

@ -1,3 +1,5 @@
include Makefile.sources
AM_CFLAGS = \
$(WARN_CFLAGS)\
-I$(top_srcdir)/include/drm \
@ -12,8 +14,8 @@ noinst_PROGRAMS = \
proptest
endif
proptest_SOURCES = \
proptest.c
proptest_SOURCES = $(PROPTEST_FILES)
proptest_LDADD = \
$(top_builddir)/libdrm.la \
$(top_builddir)/tests/util/libutil.la

View File

@ -0,0 +1,2 @@
PROPTEST_FILES := \
proptest.c