summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorPiotr Luc <piotr.luc@intel.com>2013-06-14 13:06:49 +0200
committerbuildbot <buildbot@intel.com>2013-06-19 21:19:43 -0700
commit38e54fb27260f59c4bd8d5557e235cdcabe7600e (patch)
tree4777988d1f0c7bea0ce91c379b7e3bfa6c79f53b /va
parent99bacbcb8c68ddc6df38d36bfe912b66236c54b7 (diff)
downloadlibva-38e54fb27260f59c4bd8d5557e235cdcabe7600e.tar.gz
Export include dir from libva
BZ: 116218 Google introduced new method of specifying include path(s) between modules. This allows a module to include header from a library without directly specifyining by includer the path where headers are located. The method requires from library that holds headers to export include path(s) in LOCAL_EXPORT_C_INCLUDE_DIRS variable. These exported include path(s) are automatically added to include path(s) of modules that have name of the library in the LOCAL_SHARED_LIBRARIES or LOCAL_STATIC_LIBRARIES list. This change sets LOCAL_EXPORT_C_INCLUDE_DIRS to folders that contain headers file that used by other modules in order to export these paths. Change-Id: Iafe869163b917e60602b0cb494d9280ead3f451c Signed-off-by: Piotr Luc <piotr.luc@intel.com> Reviewed-on: http://android.intel.com:8080/113563 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Luc, Piotr <Piotr.Luc@intel.com> Reviewed-by: Purushothaman, Vijay A <vijay.a.purushothaman@intel.com> Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com> Tested-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'va')
-rwxr-xr-xva/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/va/Android.mk b/va/Android.mk
index e4da966..127e960 100755
--- a/va/Android.mk
+++ b/va/Android.mk
@@ -54,6 +54,8 @@ else
LOCAL_CFLAGS += -DANDROID_LOG
endif
+LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)/..
+
LOCAL_C_INCLUDES += \
$(TARGET_OUT_HEADERS)/libva \
$(LOCAL_PATH)/x11 \