parameter-framework: Remove the hardcoding from TOP of tree
BZ: 120651
Remove the hard coding of path from TOP of android build tree.
pathmap_INCL has been extended to add AOSP include dirs used
by parameter framework. Need to use the MACRO include-path-for
defined in build/core/pathmap.mk to include the AOSP paths
Change-Id: Ic7c9eb4bcf39db5e31d14c785d8d2e37ab53af78
Signed-off-by: Chetan Rao <chetan.rao@intel.com>
Reviewed-on: http://android.intel.com:8080/105311
Reviewed-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: Rocard, KevinX <kevinx.rocard@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
diff --git a/parameter/Android.mk b/parameter/Android.mk
index df0bcd0..edfd71c 100644
--- a/parameter/Android.mk
+++ b/parameter/Android.mk
@@ -125,7 +125,7 @@
LOCAL_C_INCLUDES += \
$(common_c_includes) \
- external/stlport/stlport/ \
+ $(call include-path-for, stlport) \
bionic/
LOCAL_SHARED_LIBRARIES := $(common_shared_libraries) libdl libstlport