[PATCH] drm_hwcomposer: remove unnecessary external includes

Chih-Wei Huang cwhuang at android-x86.org
Wed Oct 25 02:21:14 UTC 2017


2017-10-25 8:06 GMT+08:00 Rob Herring <robh at kernel.org>:
> 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 \
> --

Looks good to me
Reviewed-and-tested-by: Chih-Wei Huang <cwhuang at linux.org.tw>

-- 
Chih-Wei
Android-x86 project
http://www.android-x86.org


More information about the dri-devel mailing list