summaryrefslogtreecommitdiff
path: root/Android.mk
blob: 2eeecc58aabb38e7379013e4e38017e1f39c2c7d (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
38
39
BASE_PATH := $(call my-dir)
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 $(BASE_PATH)/libkms/Android.mk
include $(BASE_PATH)/tests/modetest/Android.mk