Add schannel webrtc_base build using a new use_schannel gyp variable.

R=henrike@webrtc.org, thorcarpenter@google.com

Review URL: https://webrtc-codereview.appspot.com/28409004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7141 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tpsiaki@google.com 2014-09-10 18:06:47 +00:00
parent b2efb6771c
commit 67eabc0938
2 changed files with 33 additions and 20 deletions

View File

@ -500,6 +500,8 @@
}],
],
}, {
'conditions': [
['use_legacy_ssl_defaults!=1', {
'defines': [
'SSL_USE_NSS',
'HAVE_NSS_SSL_H',
@ -513,6 +515,8 @@
],
},
}],
],
}],
['OS == "android"', {
'defines': [
'HAVE_OPENSSL_SSL_H'
@ -529,16 +533,20 @@
],
},
}, {
'conditions': [
['use_legacy_ssl_defaults!=1', {
'defines': [
'HAVE_NSS_SSL_H'
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
'direct_dependent_settings': {
'defines': [
'HAVE_NSS_SSL_H'
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
},
}],
],
'sources!': [
'ifaddrs-android.cc',
'ifaddrs-android.h',

View File

@ -118,6 +118,11 @@
# https://gcc.gnu.org/wiki/LinkTimeOptimization
'use_lto%': 0,
# Defer ssl perference to that specified through sslconfig.h instead of
# choosing openssl or nss directly. In practice, this can be used to
# enable schannel on windows.
'use_legacy_ssl_defaults%': 0,
'conditions': [
['build_with_chromium==1', {
# Exclude pulse audio on Chromium since its prerequisites don't require