summaryrefslogtreecommitdiff
path: root/Android.mk
blob: 39ba22c72795364f6c586f0c7662f54e60e99db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LOCAL_PATH := $(call my-dir)

#
# DRM
#

include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	xf86drm.c \
	xf86drmHash.c \
	xf86drmRandom.c \
	xf86drmSL.c \
	xf86drmMode.c

LOCAL_MODULE := libdrm
LOCAL_MODULE_TAGS := optional

LOCAL_C_INCLUDES += \
	$(LOCAL_PATH)/include/drm

LOCAL_COPY_HEADERS_TO := libdrm
LOCAL_COPY_HEADERS := \
	xf86drm.h \
	xf86drmMode.h \
	include/drm/drm.h \
	include/drm/drm_fourcc.h \
	include/drm/drm_mode.h \
	include/drm/drm_sarea.h

include $(BUILD_SHARED_LIBRARY)

#
# KMS
#

include $(LOCAL_PATH)/libkms/Android.mk