cloud: SConscript cleanup.
authorPawel Winogrodzki <pawelwi@microsoft.com>
Fri, 28 Apr 2017 03:25:26 +0000 (20:25 -0700)
committerPhil Coval <philippe.coval@osg.samsung.com>
Wed, 12 Jul 2017 20:07:08 +0000 (20:07 +0000)
Removing settings already present in the global "env" variable
along with any modifications to that global environment to get rid
of cross dependencies between scripts and forcing them to be executed
in a specific order.

Bug: https://jira.iotivity.org/browse/IOT-1583
Change-Id: I27edcf846d9436636a61cd83852335f86133bb4a
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21289
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
arduino.scons
cloud/samples/client/SConscript

index 606cab8..9835545 100644 (file)
@@ -57,5 +57,3 @@ env.AppendUnique(CPPDEFINES=[
     '-D__OIC_DEVICE_NAME__=' + "\'\"" + env.get('DEVICE_NAME') + "\"\'"
 ])
 
-if env.get('LOGGING'):
-    env.AppendUnique(CPPDEFINES=['TB_LOG'])
index c3434fd..eaae110 100644 (file)
@@ -44,6 +44,9 @@ cc_sample_app_env.AppendUnique(CPPPATH=[
     '#/resource/csdk/resource-directory/include',
     '#/resource/csdk/include',
     '#/resource/csdk/stack/include',
+    '#/resource/c_common',
+    '#/resource/c_common/oic_malloc/include',
+    '#/resource/c_common/oic_string/include',
     '#/resource/c_common/ocrandom/include',
     '#/resource/csdk/logger/include',
     '#/resource/oc_logger/include',
@@ -58,7 +61,6 @@ cc_sample_app_env.AppendUnique(CPPPATH=[
 
 cc_sample_app_env.AppendUnique(
     CXXFLAGS=['-O2', '-g', '-Wall', '-Wextra', '-std=c++0x', '-pthread'])
-cc_sample_app_env.AppendUnique(LIBPATH=[env.get('BUILD_DIR')])
 cc_sample_app_env.AppendUnique(RPATH=[env.get('BUILD_DIR')])
 
 cc_sample_app_env.PrependUnique(LIBS=[