X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Fcsdk%2Fconnectivity%2Fsrc%2Ftcp_adapter%2FSConscript;h=a1b88066ce2753ae18b81dd6cbafdfacc2f8d2be;hb=7f00f942c39b7bc27c7eeecf213a239c3fe4173c;hp=df485277c98ed235e77d57d0dd76fcdb69d091cc;hpb=45c364268c4f5d575d98f4cd88b571b536c6cb17;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/csdk/connectivity/src/tcp_adapter/SConscript b/resource/csdk/connectivity/src/tcp_adapter/SConscript index df48527..a1b8806 100644 --- a/resource/csdk/connectivity/src/tcp_adapter/SConscript +++ b/resource/csdk/connectivity/src/tcp_adapter/SConscript @@ -15,10 +15,12 @@ src_dir = './tcp_adapter/' # Source files to build common for all platforms common_files = None -if target_os in ['linux', 'tizen', 'android']: +if target_os in ['linux', 'tizen', 'android', 'ios', 'tizenrt']: common_files = [ os.path.join(src_dir, 'catcpadapter.c'), os.path.join(src_dir, 'catcpserver.c') ] +else : + common_files = [os.path.join(src_dir, 'catcpadapter.c')] # Get list of target-specific source file base names, i.e. no parent # directories prepended to the path. @@ -42,6 +44,6 @@ target_files = [ os.path.join(src_dir, target_os, f) for f in target_files ] # Source files to build for Linux-like platforms -# The list of BLE adapter source files is a combination of both the +# The list of TCP adapter source files is a combination of both the # common and target-specific source file lists. env.AppendUnique(CA_SRC = common_files + target_files) \ No newline at end of file