Skip to content

Commit

Permalink
Add schannel webrtc_base build using a new use_schannel gyp variable.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tpsiaki committed Sep 10, 2014
1 parent b2efb67 commit 67eabc0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 20 deletions.
48 changes: 28 additions & 20 deletions webrtc/base/base.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -500,18 +500,22 @@
}],
],
}, {
'defines': [
'SSL_USE_NSS',
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
'conditions': [
['use_legacy_ssl_defaults!=1', {
'defines': [
'SSL_USE_NSS',
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
'direct_dependent_settings': {
'defines': [
'SSL_USE_NSS',
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
},
}],
],
'direct_dependent_settings': {
'defines': [
'SSL_USE_NSS',
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
},
}],
['OS == "android"', {
'defines': [
Expand All @@ -529,16 +533,20 @@
],
},
}, {
'defines': [
'HAVE_NSS_SSL_H'
'SSL_USE_NSS_RNG',
'conditions': [
['use_legacy_ssl_defaults!=1', {
'defines': [
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
'direct_dependent_settings': {
'defines': [
'HAVE_NSS_SSL_H',
'SSL_USE_NSS_RNG',
],
},
}],
],
'direct_dependent_settings': {
'defines': [
'HAVE_NSS_SSL_H'
'SSL_USE_NSS_RNG',
],
},
'sources!': [
'ifaddrs-android.cc',
'ifaddrs-android.h',
Expand Down
5 changes: 5 additions & 0 deletions webrtc/build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67eabc0

Please sign in to comment.