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/" ] |
} |