aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-06-16 11:42:40 +0200
committerMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-06-25 10:52:34 +0200
commit0fbd572ff8095725b47a69f08134d5efbc1336e8 (patch)
treee19fcfd40bca485acee5735a0a132f2575fd180a
parentda8298c82ada0f28b43c2fb9b41b3c096543ff3b (diff)
downloadexternal_parameter-framework-0fbd572ff8095725b47a69f08134d5efbc1336e8.zip
external_parameter-framework-0fbd572ff8095725b47a69f08134d5efbc1336e8.tar.gz
external_parameter-framework-0fbd572ff8095725b47a69f08134d5efbc1336e8.tar.bz2
Create specific targets for headers export
BZ: 203091 Hard coded relative or absolute paths shall be avoided. To allow other components to import necessary headers we created two new targets. Change-Id: I95e8f13765537f431f5730a7cdde4f85f4b7d06a Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
-rw-r--r--[-rwxr-xr-x]xmlserializer/Android.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/xmlserializer/Android.mk b/xmlserializer/Android.mk
index cade7c6..8dca27f 100755..100644
--- a/xmlserializer/Android.mk
+++ b/xmlserializer/Android.mk
@@ -111,6 +111,22 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
include $(BUILD_HOST_STATIC_LIBRARY)
+################################
+# Export includes for plugins (Target build)
+include $(CLEAR_VARS)
+LOCAL_MODULE := $(common_module)_includes
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+LOCAL_STATIC_LIBRARIES := libxml2
+include $(BUILD_STATIC_LIBRARY)
+
+################################
+# Export includes for plugins (Host build)
+include $(CLEAR_VARS)
+LOCAL_MODULE := $(common_module)_includes
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+LOCAL_STATIC_LIBRARIES := libxml2
+include $(BUILD_HOST_STATIC_LIBRARY)
+
#
# libxml2-schemas
#