Commit 5d21a4a9 authored by Dan Mihai's avatar Dan Mihai Committed by Mike Fenelon

Remove unused dependencies to RD LIB

Change-Id: Id40c4b20433ad5e514657495ffac17fee6df61db
Signed-off-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18773Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarKevin Kane <kkane@microsoft.com>
Reviewed-by: default avatarJaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: default avatarTodd Malsbary <todd.malsbary@intel.com>
Reviewed-by: default avatarMike Fenelon <mike.fenelon@microsoft.com>
parent 5d454385
......@@ -65,9 +65,6 @@ if elevator_server_env.get('SECURED') == '1':
if target_os in ['msys_nt', 'windows']:
elevator_server_env.AppendUnique(LINKFLAGS = ['/subsystem:CONSOLE'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
elevator_server_env.PrependUnique(LIBS = ['resource_directory'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -67,9 +67,6 @@ if ipca_env.get('SECURED') == '1':
'ocprovision'
])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
ipca_lib_env.PrependUnique(LIBS = ['resource_directory'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -79,9 +79,6 @@ if use_iotivity == 1:
if target_os in ['msys_nt', 'windows']:
ipcatest_env.AppendUnique(LINKFLAGS = ['/subsystem:CONSOLE'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
ipcatest_env.PrependUnique(LIBS = ['resource_directory'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -65,7 +65,6 @@ if catest_env.get('SECURED') == '1':
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
if 'CLIENT' in rd_mode and target_os not in ['arduino', 'darwin', 'ios', 'windows', 'winrt']:
catest_env.PrependUnique(LIBS = ['oc', 'oc_logger'])
catest_env.PrependUnique(LIBS = ['resource_directory'])
if target_os not in ['msys_nt', 'windows']:
catest_env.AppendUnique(LIBS = ['m'])
......
......@@ -82,10 +82,6 @@ if target_os in ['msys_nt', 'windows']:
else:
sptest_env.AppendUnique(LIBS = ['octbstack'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
sptest_env.PrependUnique(LIBS = ['resource_directory'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -79,10 +79,6 @@ else:
srmtest_env.AppendUnique(CPPDEFINES = ['HAVE_LOCALTIME_R'])
srmtest_env.AppendUnique(LIBS = ['octbstack'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
srmtest_env.PrependUnique(LIBS = ['resource_directory', 'oc'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -66,9 +66,6 @@ if target_os in ['msys_nt', 'windows']:
else:
stacktest_env.PrependUnique(LIBS = ['m'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
stacktest_env.PrependUnique(LIBS = ['resource_directory'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -67,7 +67,7 @@ resourceClient_env.AppendUnique(CPPPATH = [
'src/resourceCache/include'
])
resourceClient_env.PrependUnique(LIBS = ['resource_directory', 'oc', 'rcs_common', 'octbstack','oc_logger'])
resourceClient_env.PrependUnique(LIBS = ['oc', 'rcs_common', 'octbstack','oc_logger'])
if target_os not in ['windows']:
resourceClient_env.AppendUnique(CXXFLAGS = ['-Wall', '-std=c++0x'])
......
......@@ -73,9 +73,6 @@ if server_builder_env.get('SECURED') == '1':
if server_builder_env.get('WITH_TCP') == True:
server_builder_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
server_builder_env.AppendUnique(LIBS = ['resource_directory'])
######################################################################
# Source files and Targets
######################################################################
......
......@@ -41,9 +41,6 @@ if env.get('SECURED') == '1':
if 'rt' in scenemanager_sample_env.get('LIBS'):
scenemanager_sample_env.Append(LIBS = ['rt'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
scenemanager_sample_env.AppendUnique(LIBS = ['resource_directory'])
if not env.get('RELEASE'):
scenemanager_sample_env.PrependUnique(LIBS = ['gcov'])
scenemanager_sample_env.AppendUnique(CXXFLAGS = ['--coverage'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment