projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320018b
)
anv/android: Link to Android libraries in the autotools build
author
Chad Versace
<chadversary@chromium.org>
Mon, 10 Jul 2017 18:15:35 +0000
(11:15 -0700)
committer
Chad Versace
<chadversary@chromium.org>
Tue, 17 Oct 2017 18:08:26 +0000
(11:08 -0700)
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.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/Makefile.vulkan.am
patch
|
blob
|
history
diff --git
a/src/intel/Makefile.vulkan.am
b/src/intel/Makefile.vulkan.am
index
271b0a5
..
0f488fc
100644
(file)
--- 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) \