OSDN Git Service

minigbm: Update Android.mk to export the include path
authorDaniel Nicoara <dnicoara@chromium.org>
Thu, 10 May 2018 21:58:03 +0000 (17:58 -0400)
committerchrome-bot <chrome-bot@chromium.org>
Sat, 12 May 2018 06:22:23 +0000 (23:22 -0700)
Allows other applications depending on it to pick up minigbm headers
without explicitly specifying the path.

BUG=b:78869504
TEST=Compiled application depending on minigbm

Change-Id: Ie1681579145620ba330721393f0ad71a00109102
Reviewed-on: https://chromium-review.googlesource.com/1054615
Commit-Ready: Daniel Nicoara <dnicoara@chromium.org>
Tested-by: Daniel Nicoara <dnicoara@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Android.mk

index c80b7d4..9169cef 100644 (file)
@@ -81,6 +81,7 @@ LOCAL_STATIC_LIBRARIES := libdrm
 
 LOCAL_SRC_FILES += $(MINIGBM_SRC) gbm.c gbm_helpers.c
 
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
 LOCAL_CFLAGS := $(MINIGBM_CFLAGS)
 LOCAL_CPPFLAGS := $(MINIGBM_CPPFLAGS)