summaryrefslogtreecommitdiff
path: root/libkms/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libkms/Android.mk')
-rw-r--r--libkms/Android.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/libkms/Android.mk b/libkms/Android.mk
new file mode 100644
index 00000000..d5507c7d
--- /dev/null
+++ b/libkms/Android.mk
@@ -0,0 +1,22 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ linux.c \
+ dumb.c \
+ api.c
+
+LOCAL_MODULE := libkms
+LOCAL_MODULE_TAGS := optional
+LOCAL_SHARED_LIBRARIES := libdrm
+
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH)/.. \
+ $(LOCAL_PATH)/../include/drm
+
+LOCAL_COPY_HEADERS_TO := libdrm
+LOCAL_COPY_HEADERS := \
+ libkms.h
+
+include $(BUILD_SHARED_LIBRARY)