OSDN Git Service

Replace Android.bp with Android.mk
[android-x86/external-drmfb-composer.git] / Android.mk
1 # SPDX-License-Identifier: Apache-2.0
2 # Copyright (C) 2019 Stephan Gerhold
3
4 LOCAL_PATH := $(call my-dir)
5
6 include $(CLEAR_VARS)
7 LOCAL_MODULE := android.hardware.graphics.composer@2.1-service.drmfb
8 LOCAL_MODULE_RELATIVE_PATH := hw
9 LOCAL_VENDOR_MODULE := true
10 LOCAL_INIT_RC := android.hardware.graphics.composer@2.1-service.drmfb.rc
11 LOCAL_CPP_STD := c++17
12
13 LOCAL_SRC_FILES := \
14     service.cpp \
15     DrmComposer.cpp \
16     DrmDevice.cpp \
17     DrmDisplay.cpp \
18     DrmFramebuffer.cpp
19
20 LOCAL_HEADER_LIBRARIES := \
21     android.hardware.graphics.composer@2.1-hal
22
23 LOCAL_SHARED_LIBRARIES := \
24     libbase \
25     libbinder \
26     libcutils \
27     libdrm \
28     libfmq \
29     libhidlbase \
30     libhidltransport \
31     liblog \
32     libsync \
33     libutils \
34     android.hardware.graphics.common@1.0 \
35     android.hardware.graphics.mapper@2.0 \
36     android.hardware.graphics.composer@2.1
37
38 include $(BUILD_EXECUTABLE)