[Common-cvs] netio unix.pcf,1.10,1.10.2.1
henryxing at helixcommunity.org henryxing at helixcommunity.orgUpdate of /cvsroot/common/netio
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv16286
Modified Files:
Tag: hxclient_3_1_0_atlas
unix.pcf
Log Message:
integrate openssl in unix_net for HXC-72, only for unix/android platform, need update future
Index: unix.pcf
===================================================================
RCS file: /cvsroot/common/netio/unix.pcf,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- unix.pcf 6 Jul 2007 20:43:53 -0000 1.10
+++ unix.pcf 9 Feb 2012 07:22:40 -0000 1.10.2.1
@@ -61,3 +61,13 @@
'platform/posix/sockimp.cpp',
'platform/posix/hxposixsockutil.cpp',
'platform/posix/hxsocketselector.cpp')
+
+if project.IsDefined("HELIX_FEATURE_SECURE_SOCKET_OPENSSL"):
+ if project.IsDefined("ANDROID"):
+ project.AddIncludes(GetSDKPath("android_source") + '/external/openssl/include');
+ else:
+ project.AddModuleIncludes('common/import/openssl/1.0.0e/linux_ubuntu_i686/include');
+
+if project.IsDefined("HELIX_FEATURE_SECURE_SOCKET_OPENSSL"):
+ project.AddSources('platform/unix/tcpssl.cpp')
+ project.AddSources('socketssl.cpp')