if CoAP_test_env.get('SECURED') == '1':
- if CoAP_test_env.get('WITH_TCP') == True:
- CoAP_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto','tinydtls'])
+ CoAP_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto','tinydtls'])
######################################################################
# Build Test
######################################################################
src_dir + '/service/easy-setup/mediator/richsdk/inc'])
if easysetup_test_env.get('SECURED') == '1':
- if easysetup_test_env.get('WITH_TCP') == True:
- easysetup_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ easysetup_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
######################################################################
# Build Test
env.get('SRC_DIR') + '/resource/csdk/security/provisioning/include/internal',
env.get('SRC_DIR') + '/resource/csdk/security/provisioning/include/cloud',
env.get('SRC_DIR') + '/resource/csdk/security/provisioning/include/oxm'])
- if env.get('WITH_TCP') == True:
- easy_setup_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ easy_setup_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
if not env.get('RELEASE') and target_os not in ['ios']:
easy_setup_env.PrependUnique(LIBS = ['gcov'])
enrollee_env.PrependUnique(LIBS = ['oc', 'octbstack', 'oc_logger', 'ocsrm', 'pthread', 'connectivity_abstraction','coap', 'ESEnrolleeSDK'])
if enrollee_env.get('SECURED') == '1':
enrollee_env.PrependUnique(LIBS = ['ocpmapi', 'ocprovision'])
- if enrollee_env.get('WITH_TCP') == True:
- enrollee_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ enrollee_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
enrollee = enrollee_env.Program('enrollee', ['enrolleewifi.c', 'easysetup_x.c'])
if env.get('WITH_TCP') == True:
notification_sample_env.AppendUnique(CPPDEFINES = ['WITH_TCP'])
- if env.get('SECURED') == '1':
- notification_sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+if env.get('SECURED') == '1':
+ notification_sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
####################################################################
# Source files and Targets
if env.get('WITH_TCP') == True:
notification_sample_env.AppendUnique(CPPDEFINES = ['WITH_TCP'])
- if env.get('SECURED') == '1':
- notification_sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+if env.get('SECURED') == '1':
+ notification_sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
with_mq = env.get('WITH_MQ')
if 'SUB' in with_mq:
resource_container_env.AppendUnique(LIBS = ['boost_thread'])
if resource_container_env.get('SECURED') == '1':
- if resource_container_env.get('WITH_TCP') == True:
- resource_container_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ resource_container_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
if int(containerJavaSupport):
try:
if container_gtest_env.get('SECURED') == '1':
container_gtest_env.AppendUnique(CPPDEFINES = ['SECURED'])
- if container_gtest_env.get('WITH_TCP') == True:
- container_gtest_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ container_gtest_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
container_gtest_env.AppendUnique(LIBS = ['resource_directory'])
sample_env.AppendUnique(CPPPATH = ['../../../include'])
if env.get('SECURED') == '1':
- if env.get('WITH_TCP') == True:
- sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ sample_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
if 'rt' in sample_env.get('LIBS'):
sample_env.Append(LIBS = ['rt'])
broker_test_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++0x'])
if broker_test_env.get('SECURED') == '1':
- if broker_test_env.get('WITH_TCP') == True:
- broker_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ broker_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
######################################################################
# Build Test
cache_test_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++0x'])
if cache_test_env.get('SECURED') == '1':
- if cache_test_env.get('WITH_TCP') == True:
- cache_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ cache_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
######################################################################
# Build Test
if lib_env.get('SECURED') == '1':
rcs_test_env.AppendUnique(CPPDEFINES = ['SECURED'])
- if lib_env.get('WITH_TCP') == True:
- rcs_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+ rcs_test_env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
if 'g++' in rcs_test_env.get('CXX'):
rcs_test_env.AppendUnique(CXXFLAGS = ['-std=c++0x'])