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:
@@ -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),)
|
||||
|
||||
Reference in New Issue
Block a user