android: loader: export the path to be included
authorChih-Wei Huang <cwhuang@android-x86.org>
Wed, 20 May 2015 03:25:25 +0000 (11:25 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 9 Jun 2015 18:38:44 +0000 (11:38 -0700)
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/egl/drivers/dri2/Android.mk
src/loader/Android.mk

index 5931ce8f2f04fafa1682cf09a4c96af8fb116dd0..d4d809bc3de96f6662447c7ec3cca984386bf945 100644 (file)
@@ -45,7 +45,6 @@ endif
 LOCAL_C_INCLUDES := \
        $(MESA_TOP)/src/mapi \
        $(MESA_TOP)/src/egl/main \
-       $(MESA_TOP)/src/loader \
        $(DRM_GRALLOC_TOP)
 
 LOCAL_STATIC_LIBRARIES := \
index 8e215de3cda0ad79f19e868c927f850bb9bbe46a..92d9fd20d3c65a85b1ee5009e430b6f988c66885 100644 (file)
@@ -40,6 +40,8 @@ else
 LOCAL_SHARED_LIBRARIES := libdrm
 endif
 
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+
 LOCAL_MODULE := libmesa_loader
 
 include $(MESA_COMMON_MK)