X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fsecurity%2Fprovisioning%2Funittest%2FSConscript;h=fbdb5fd8c422cc2c2d35f358df771a3be72b29e4;hb=385deffade480ba9f9179b540c766231b864a30c;hp=48e5e89fe8e8d8bfe62273bb4a4d36999d08fcd8;hpb=8e6f6b8f94dd9d1d01312ab5d6d972dd30bdfc11;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/security/provisioning/unittest/SConscript b/resource/csdk/security/provisioning/unittest/SConscript index 48e5e89..fbdb5fd 100644 --- a/resource/csdk/security/provisioning/unittest/SConscript +++ b/resource/csdk/security/provisioning/unittest/SConscript @@ -35,10 +35,8 @@ rd_mode = sptest_env.get('RD_MODE') ###################################################################### with_upstream_libcoap = sptest_env.get('WITH_UPSTREAM_LIBCOAP') if with_upstream_libcoap == '1': - # For bring up purposes only, we manually copy the forked version to where the unforked version is downloaded. sptest_env.AppendUnique(CPPPATH = ['#extlibs/libcoap/libcoap/include']) else: - # For bring up purposes only, the forked version will live here. sptest_env.AppendUnique(CPPPATH = ['../../../connectivity/lib/libcoap-4.1.1/include']) sptest_env.PrependUnique(CPPPATH = [ @@ -60,12 +58,14 @@ sptest_env.PrependUnique(CPPPATH = [ '../../../connectivity/common/inc', '../../../connectivity/api' ]) -sptest_env.PrependUnique(LIBS = [ 'ocpmapi', + +sptest_env.PrependUnique(LIBS = [ 'ocpmapi_internal', 'oc', - 'octbstack_test', + 'octbstack_internal', 'ocsrm', - 'oc_logger', - 'connectivity_abstraction', + 'routingmanager', + 'oc_logger_internal', + 'connectivity_abstraction_internal', 'coap']) if sptest_env.get('SECURED') == '1': @@ -77,14 +77,13 @@ if not sptest_env.get('RELEASE'): if sptest_env.get('MULTIPLE_OWNER') == '1': sptest_env.AppendUnique(CPPDEFINES=['MULTIPLE_OWNER']) +sptest_env.AppendUnique(LIBS = ['octbstack_internal']) + if target_os in ['msys_nt', 'windows']: - sptest_env.AppendUnique(LIBS = ['octbstack_static', 'sqlite3']) + sptest_env.AppendUnique(LIBS = ['sqlite3']) else: - sptest_env.AppendUnique(LIBS = ['octbstack']) - -if 'CLIENT' in rd_mode or 'SERVER' in rd_mode: - sptest_env.PrependUnique(LIBS = ['resource_directory']) - + if target_os in ['linux', 'tizen']: + sptest_env.ParseConfig('pkg-config --cflags --libs sqlite3 gobject-2.0 gio-2.0 glib-2.0') ###################################################################### # Source files and Targets