[IOT-728] Remove Linux BLE build dir from include path.
authorOssama Othman <ossama.othman@intel.com>
Wed, 23 Sep 2015 18:04:15 +0000 (11:04 -0700)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Fri, 9 Oct 2015 17:10:41 +0000 (17:10 +0000)
commit8756cd8d1bd6969da223f5cd14c3b90975ce349a
tree0866affd581c6050ec2eb81408648660efcc9d42
parentea40d440b857683a31e9d5970e8216701075de6d
[IOT-728] Remove Linux BLE build dir from include path.

The Linux BLE adapter build directory was originally added to the
preprocessor include path so that the generated GDBus "glue" headers
could be found by the preprocessor.  However, that caused conflicts in
cases where another directory contained a header with the same name as
one found on the Linux BLE adapter directory (e.g. utils.h).  Avoid
this conflict by removing the Linux BLE adapter build directory from
the preprocessor include path, and instead make the generated "glue"
header available to the preprocessor by copying it to the source
directory.  This change addresses the problem reported in bug
IOT-728.

This change can be cherry-picked for the 1.0.0-dev branch.

Change-Id: Ic7dbb570148458a30e05d4e6ac3cef78d606d4a4
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3003
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
resource/csdk/connectivity/src/bt_le_adapter/linux/.gitignore [new file with mode: 0644]
resource/csdk/connectivity/src/bt_le_adapter/linux/SConscript