[PATCH libdrm] android: Add missing include exports

John Stultz john.stultz at linaro.org
Mon Mar 19 08:12:03 UTC 2018


On Sun, Mar 18, 2018 at 9:26 AM, Stefan Schake <stschake at gmail.com> wrote:
> They were set for the static library but not the shared variant.
>
> Cc: John Stultz <john.stultz at linaro.org>
> Signed-off-by: Stefan Schake <stschake at gmail.com>
> ---
>  Android.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Android.mk b/Android.mk
> index 8611c5e..1b77c53 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -53,7 +53,9 @@ LOCAL_MODULE := libdrm
>
>  LOCAL_SRC_FILES := $(LIBDRM_FILES)
>  LOCAL_EXPORT_C_INCLUDE_DIRS := \
> -        $(LOCAL_PATH)/include/drm
> +       $(LOCAL_PATH) \
> +       $(LOCAL_PATH)/include/drm \
> +       $(LOCAL_PATH)/android
>
>  LOCAL_SHARED_LIBRARIES := \
>         libcutils
> --

I've validated with this along with your suggested change to my
drm_hwcomposer patch, and it is building just fine. So I'm reworking
my patch stack to include this.

Acked-by: John Stultz <john.stultz at linaro.org>

thanks
-john


More information about the dri-devel mailing list