forked from robclark/kmscube
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Android.mk
61 lines (54 loc) · 1.42 KB
/
Android.mk
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
LOCAL_PATH := $(call my-dir)
#include $(LOCAL_PATH)/Android.common.mk
include $(CLEAR_VARS)
LOCAL_CPPFLAGS += \
-std=c99 \
-O0 -g \
-Wall -Wextra \
-Wunused-parameter \
-Wunused-variable \
-Wunused-function \
-Wno-error \
-Wformat \
$(DRM_CFLAGS) \
$(GBM_CFLAGS) \
$(EGL_CFLAGS) \
$(GLES2_CFLAGS)
LOCAL_MODULE := kmscube
LOCAL_SHARED_LIBRARIES := \
libcutils \
libdrm \
libEGL \
libGLESv3 \
liblog \
libsync \
libui \
libminigbm \
libutils \
libkmscubewrapper \
libhwcservice
LOCAL_C_INCLUDES := \
system/core/include/utils \
system/core/libsync \
system/core/libsync/include \
frameworks/native/libs/nativewindow/include \
frameworks/native/libs/nativewindow \
hardware/intel/external/minigbm-intel \
hardware/intel/external/drm-intel/include/drm/ \
hardware/intel/external/drm-intel \
$(LOCAL_PATH)/wrap \
$(LOCAL_PATH)
LOCAL_SRC_FILES := \
common.c \
cube-smooth.c \
cube-tex.c \
drm-atomic.c \
drm-common.c \
drm-legacy.c \
esTransform.c \
frame-512x512-NV12.c \
frame-512x512-RGBA.c \
kmscube.c
LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_EXECUTABLE)