Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: net/net.gyp

Issue 5014001: Reverted because openssl_helper needs to build even on non-openssl builds... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gyp
===================================================================
--- net/net.gyp (revision 66121)
+++ net/net.gyp (working copy)
@@ -266,8 +266,13 @@
],
[ 'use_openssl==1', {
'sources!': [
+ 'base/cert_database_nss.cc',
'base/dnssec_keyset.cc',
'base/dnssec_keyset.h',
+ 'base/keygen_handler_nss.cc',
+ 'base/nss_memio.c',
+ 'base/nss_memio.h',
+ 'base/x509_certificate_nss.cc',
'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
'third_party/mozilla_security_manager/nsKeygenHandler.h',
'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
@@ -278,6 +283,17 @@
'third_party/mozilla_security_manager/nsPKCS12Blob.h',
],
},
+ { # else: not using openssl.
+ 'sources!': [
+ 'base/cert_database_openssl.cc',
+ 'base/keygen_handler_openssl.cc',
+ 'base/openssl_util.cc',
+ 'base/openssl_util.h',
+ 'base/x509_certificate_openssl.cc',
+ 'base/x509_openssl_util.cc',
+ 'base/x509_openssl_util.h',
+ ],
+ },
],
[ 'OS == "win"', {
'dependencies': [
@@ -708,10 +724,22 @@
}],
['use_openssl==1', {
'sources!': [
+ 'ocsp/nss_ocsp.cc',
+ 'ocsp/nss_ocsp.h',
'socket/dns_cert_provenance_check.cc',
'socket/dns_cert_provenance_check.h',
+ 'socket/ssl_client_socket_nss.cc',
+ 'socket/ssl_client_socket_nss.h',
+ 'socket/ssl_client_socket_nss_factory.cc',
+ 'socket/ssl_client_socket_nss_factory.h',
],
},
+ { # 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': [
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698