OSDN Git Service

Android: Export gallium_dri include files
authorRob Herring <robh@kernel.org>
Thu, 17 Dec 2015 14:18:33 +0000 (08:18 -0600)
committerMauro Rossi <issor.oruam@gmail.com>
Mon, 20 Mar 2017 23:15:04 +0000 (00:15 +0100)
This doesn't work yet because the exported include files can't be picked
up by the android build system unless the library has a 'lib' prefix.

Signed-off-by: Rob Herring <robh@kernel.org>
src/gallium/targets/dri/Android.mk

index 950a464..692bf04 100644 (file)
@@ -27,6 +27,12 @@ include $(CLEAR_VARS)
 
 LOCAL_MODULE := gallium_dri
 
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+       $(MESA_TOP)/src \
+       $(MESA_TOP)/include \
+       $(MESA_TOP)/src/gallium/auxiliary \
+       $(MESA_TOP)/src/gallium/include
+
 ifeq ($(MESA_LOLLIPOP_BUILD),true)
 LOCAL_MODULE_RELATIVE_PATH := $(MESA_DRI_MODULE_REL_PATH)
 else