[PATCH] drm_hwcomposer: remove unnecessary external includes

Rob Herring robh at kernel.org
Wed Oct 25 00:06:43 UTC 2017


Linking to libraries will add necessary include paths, so we don't need to
list them explicitly.

Still need libsync for sw_sync.h until this dependency is removed.

Signed-off-by: Rob Herring <robh at kernel.org>
---
 Android.mk | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Android.mk b/Android.mk
index 109e352f2a0e..8b11e375adde 100644
--- a/Android.mk
+++ b/Android.mk
@@ -48,11 +48,7 @@ LOCAL_STATIC_LIBRARIES := libdrmhwc_utils
 
 LOCAL_C_INCLUDES := \
 	external/drm_gralloc \
-	external/libdrm \
-	external/libdrm/include/drm \
-	system/core/include/utils \
-	system/core/libsync \
-	system/core/libsync/include \
+	system/core/libsync
 
 LOCAL_SRC_FILES := \
 	autolock.cpp \
-- 
2.14.1



More information about the dri-devel mailing list