summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index 06105fa..2128154 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -539,6 +539,8 @@
'socket/ssl_client_socket_nss.h',
'socket/ssl_client_socket_nss_factory.cc',
'socket/ssl_client_socket_nss_factory.h',
+ 'socket/ssl_client_socket_openssl.cc',
+ 'socket/ssl_client_socket_openssl.h',
'socket/ssl_client_socket_pool.cc',
'socket/ssl_client_socket_pool.h',
'socket/ssl_client_socket_win.cc',
@@ -650,6 +652,18 @@
'proxy/proxy_config_service_linux.h',
],
}],
+ ['use_openssl==1 and OS == "linux"', {
+ 'dependencies': [
+ '../build/linux/system.gyp:openssl',
+ ]
+ },
+ { # else !use_openssl: remove the unneeded files
+ 'sources!': [
+ 'socket/ssl_client_socket_openssl.cc',
+ 'socket/ssl_client_socket_openssl.h',
+ ],
+ },
+ ],
[ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
'dependencies': [
'../build/linux/system.gyp:gconf',