[IOT-1209] Fix provisioningclient for Windows
authorDan Mihai <Daniel.Mihai@microsoft.com>
Mon, 8 Aug 2016 15:33:05 +0000 (08:33 -0700)
committerDave Thaler <dthaler@microsoft.com>
Sat, 27 Aug 2016 00:00:58 +0000 (00:00 +0000)
commit371fe663c19f991ef58220c172d3575f02ff4d4b
tree22df082352d0257dc7346b2948556285fe282328
parentd56eaeb9a7805e76f6498da7d66ba5a265e39fa7
[IOT-1209] Fix provisioningclient for Windows

1. Include security provisioning code and data just in octbstack.dll,
   instead of duplicating it in provisioningclient.exe.

2. Use octbstack.def instead of dllexport/dllimport, because dllexport
   and dllimport are too fragile.

Change-Id: Ic96e249e71563824ae943883168cae2e56e10937
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9993
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-by: David Antler <david.a.antler@intel.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
15 files changed:
build_common/windows/SConscript
extlibs/cjson/cJSON.h
resource/c_common/platform_features.h
resource/csdk/SConscript
resource/csdk/octbstack_product.def [new file with mode: 0644]
resource/csdk/octbstack_test.def [new file with mode: 0644]
resource/csdk/security/provisioning/SConscript
resource/csdk/security/provisioning/sample/SConscript
resource/csdk/stack/include/internal/ocpayloadcbor.h
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/include/ocpayload.h
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/include/oicresourcedirectory.h
resource/csdk/stack/include/payload_logging.h
resource/oc_logger/SConscript