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

Unified Diff: net/BUILD.gn

Issue 2864133002: Convert iOS to use X509CertificateBytes. (Closed)
Patch Set: rebase Created 3 years, 7 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
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 33c06a17e2e51ff51825f4c31be7239bc6205ea3..efd0a86ae2f9d46146d572c09dfe0325458c871b 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -41,7 +41,7 @@ enable_built_in_dns = !is_ios && !is_proto_quic
# in addition to use_openssl_certs or use_nss_certs, in that case byte certs
# are used internally but OpenSSL or NSS are used for certificate verification.
# TODO(mattm): crbug.com/671420: Implement and enable this for all platforms.
-use_byte_certs = is_mac || is_android || is_nacl
+use_byte_certs = is_mac || is_android || is_nacl || is_ios
buildflag_header("features") {
header = "net_features.h"
@@ -605,6 +605,8 @@ component("net") {
"cert/x509_util_android.h",
"cert/x509_util_ios.cc",
"cert/x509_util_ios.h",
+ "cert/x509_util_ios_and_mac.cc",
+ "cert/x509_util_ios_and_mac.h",
"cert/x509_util_mac.cc",
"cert/x509_util_mac.h",
"cert/x509_util_nss.cc",
@@ -1892,6 +1894,8 @@ component("net") {
"base/network_interfaces_mac.h",
"base/platform_mime_util_mac.mm",
"cert/test_root_certs_mac.cc",
+ "cert/x509_util_ios_and_mac.cc",
+ "cert/x509_util_ios_and_mac.h",
"proxy/proxy_resolver_mac.cc",
"proxy/proxy_resolver_mac.h",
"proxy/proxy_server_mac.cc",

Powered by Google App Engine
This is Rietveld 408576698