resource-encapsulation: Isolate unit_tests building
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 19 May 2017 16:53:57 +0000 (18:53 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Wed, 14 Jun 2017 13:21:10 +0000 (13:21 +0000)
commite839ff257cd2ec247fea95305871e9557ffd1fad
tree19db267097135df582aae899d321794e8462aaf1
parent95fd9f5be579a8c8aab7a4923a65c451bbe77eeb
resource-encapsulation: Isolate unit_tests building

Previously gtest libs were propagated to shared libs:

  g++ -o .../resource-encapsulation/src/common/librcs_common.so \
  (...) \
  -lgtest -lgtest_main \
  -lc_common -llogger -ldl -lpthread -luuid -lrt -loc

Change-Id: I9bcaa39d8cd5e1166b2ec7d7ede14d44f79a476e
Bug: https://jira.iotivity.org/browse/IOT-1745
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20241
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Gregg Reynolds <dev@mobileink.com>
Reviewed-by: Pawel Winogrodzki <pawelwi@microsoft.com>
service/resource-encapsulation/src/common/SConscript
service/resource-encapsulation/src/common/primitiveResource/unittests/SConscript [new file with mode: 0644]