minuitwrp: Fix detection of libdrm on Pie

external/libdrm was fully converted to Android.bp on Pie, causing
the wildcard to match nothing, even though libdrm is present in
the build tree. Change it to cover both build files.

Change-Id: I4b092b29ac021cc1aa3bcf7346b225b79fd99f4b
This commit is contained in:
lambdadroid
2018-09-26 22:30:16 +02:00
committed by Simon Shi
parent fcfc634ea6
commit d842fe1ae0

View File

@@ -45,7 +45,7 @@ ifeq ($(TW_NEW_ION_HEAP), true)
LOCAL_CFLAGS += -DNEW_ION_HEAP
endif
ifneq ($(wildcard external/libdrm/Android.mk),)
ifneq ($(wildcard external/libdrm/Android.*),)
LOCAL_CFLAGS += -DHAS_DRM
LOCAL_SRC_FILES += graphics_drm.cpp
ifneq ($(wildcard external/libdrm/Android.common.mk),)