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

Unified Diff: net/net.gyp

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 months 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 | « net/http/transport_security_state_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index e59ce18f44719852036a8b383c7a742e9e18a52a..7a4ef6bbf2758331731af43e463dd31df322d32c 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -170,6 +170,7 @@
'../crypto/crypto.gyp:crypto_test_support',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
+ '../third_party/boringssl/boringssl.gyp:boringssl',
'../third_party/zlib/zlib.gyp:zlib',
'../url/url.gyp:url_url_features',
'../url/url.gyp:url_lib',
@@ -223,13 +224,7 @@
'ssl/client_cert_store_nss_unittest.cc',
],
}],
- [ 'use_openssl == 1', {
- # Avoid compiling/linking with the system library.
- 'dependencies': [
- '../third_party/boringssl/boringssl.gyp:boringssl',
- ],
- }],
- [ 'use_nss_verifier == 1', {
+ [ 'use_nss_certs == 1', {
'conditions': [
[ 'desktop_linux == 1 or chromeos == 1', {
'dependencies': [
@@ -263,13 +258,13 @@
'http/http_auth_handler_negotiate_unittest.cc',
],
}],
- [ 'use_nss_verifier == 0', {
+ [ 'use_nss_certs == 0', {
# Only include this test when using NSS for cert verification.
'sources!': [
'cert_net/nss_ocsp_unittest.cc',
],
}],
- [ 'use_nss_verifier == 0 and OS == "ios"', {
+ [ 'OS == "ios"', {
# Only include these files on iOS when using NSS for cert
# verification.
'sources!': [
@@ -277,24 +272,6 @@
'cert/x509_util_ios.h',
],
}],
- [ 'use_nss_verifier == 1 and OS == "ios"', {
- 'sources!': [
- 'cert/cert_verify_proc_ios.cc',
- 'cert/cert_verify_proc_ios.h',
- 'cert/x509_certificate_openssl_ios.cc',
- ],
- }],
- [ 'use_openssl==1', {
- 'sources!': [
- 'quic/test_tools/crypto_test_utils_nss.cc',
- ],
- }, { # else !use_openssl: remove the unneeded files and pull in NSS.
- 'sources!': [
- 'quic/test_tools/crypto_test_utils_openssl.cc',
- 'ssl/ssl_client_session_cache_openssl_unittest.cc',
- ],
- },
- ],
[ 'use_openssl_certs == 0', {
'sources!': [
'ssl/openssl_client_key_store_unittest.cc',
@@ -692,7 +669,7 @@
'test/spawned_test_server/spawned_test_server.h',
],
}],
- ['use_nss_verifier == 1', {
+ ['use_nss_certs == 1', {
'conditions': [
[ 'desktop_linux == 1 or chromeos == 1', {
'dependencies': [
« no previous file with comments | « net/http/transport_security_state_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698