[Mesa-dev] [PATCH 01/10] anv/android: Link to Android libraries in the autotools build
Jason Ekstrand
jason at jlekstrand.net
Mon Oct 16 22:46:05 UTC 2017
No meson love?
On Mon, Oct 16, 2017 at 11:54 AM, Chad Versace <chadversary at chromium.org>
wrote:
> A first step to supporting Vulkan on ARC++. Mesa on ARC++ uses
> Autotools, not Android.mk.
>
> Doing this now, even before VK_ANDROID_native_buffer is implemented,
> allows us to incrementally add Android support to the Autotools build.
> ---
> src/intel/Makefile.vulkan.am | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
> index 271b0a5079..0f488fc9f6 100644
> --- a/src/intel/Makefile.vulkan.am
> +++ b/src/intel/Makefile.vulkan.am
> @@ -146,6 +146,11 @@ VULKAN_LIB_DEPS = \
> $(DLOPEN_LIBS) \
> -lm
>
> +if HAVE_PLATFORM_ANDROID
> +VULKAN_CFLAGS += $(ANDROID_CFLAGS)
> +VULKAN_LIB_DEPS += $(ANDROID_LIBS)
> +endif
> +
> if HAVE_PLATFORM_X11
> VULKAN_CPPFLAGS += \
> $(XCB_DRI3_CFLAGS) \
> --
> 2.13.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171016/0432b722/attachment.html>
More information about the mesa-dev
mailing list