-
Notifications
You must be signed in to change notification settings - Fork 6
/
Android.mk
52 lines (43 loc) · 1.26 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
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2019 Stephan Gerhold
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := [email protected]
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_VENDOR_MODULE := true
LOCAL_INIT_RC := [email protected]
LOCAL_CPP_STD := c++17
LOCAL_SRC_FILES := \
service.cpp \
DrmComposer.cpp \
DrmDevice.cpp \
DrmDisplay.cpp \
DrmFramebuffer.cpp \
DrmFramebufferLibDrm.cpp \
GraphicsThread.cpp \
DrmVsyncThread.cpp \
DrmHotplugThread.cpp
LOCAL_HEADER_LIBRARIES := \
LOCAL_SHARED_LIBRARIES := \
libbase \
libbinder \
libcutils \
libdrm \
libfmq \
libhidlbase \
libhidltransport \
liblog \
libsync \
libutils \
ifeq ($(strip $(BOARD_USES_MINIGBM)), true)
MINIGBM_PATH ?= external/minigbm
LOCAL_CFLAGS += -DUSE_MINIGBM
LOCAL_SRC_FILES += DrmFramebufferMinigbm.cpp
LOCAL_C_INCLUDES += $(MINIGBM_PATH)/cros_gralloc
LOCAL_SHARED_LIBRARIES += libnativewindow # TODO: Remove
endif
include $(BUILD_EXECUTABLE)