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

Unified Diff: net/BUILD.gn

Issue 1810153002: Adding iOS OpenSSL Implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing more nits. Created 4 years, 9 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 | « no previous file | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 309430b12fd1e40df9c942e9f16001e73bb75eb0..660bdafcc11fe1670304f3ddea35283c24ed5d99 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -320,6 +320,14 @@ if (!is_nacl) {
]
}
+ if (is_ios && use_nss_verifier) {
+ net_shared_sources -= [
+ "cert/cert_verify_proc_ios.cc",
+ "cert/cert_verify_proc_ios.h",
+ "cert/x509_certificate_openssl_ios.cc",
+ ]
+ }
+
if (is_chromecast && use_nss_certs) {
net_shared_sources += [ "ssl/ssl_platform_key_chromecast.cc" ]
net_shared_sources -= [ "ssl/ssl_platform_key_nss.cc" ]
@@ -376,6 +384,10 @@ if (!is_nacl) {
]
}
+ if (is_ios && !use_nss_verifier) {
+ net_shared_sources += [ "cert/test_root_certs_mac.cc" ]
+ }
+
if (is_ios || is_mac) {
net_shared_sources += gypi_values.net_base_mac_ios_sources
}
@@ -1436,7 +1448,7 @@ test("net_unittests") {
]
data_deps = []
- if (!is_ios) {
+ if (use_openssl) {
data_deps += [ "third_party/nist-pkits/" ]
}
« no previous file with comments | « no previous file | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698