Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index f8a9a4cdce9c110ea5d4972f4ebc9f15b11a46ac..ed45d9e75d7e73e3a13bea823643cdf0c7edb0b7 100644 |
--- a/net/BUILD.gn |
+++ b/net/BUILD.gn |
@@ -583,6 +583,7 @@ component("net") { |
"cert/test_root_certs_win.cc", |
"cert/x509_cert_types_mac.cc", |
"cert/x509_cert_types_win.cc", |
+ "cert/x509_certificate_bytes.cc", |
"cert/x509_certificate_ios.cc", |
"cert/x509_certificate_known_roots_win.h", |
"cert/x509_certificate_mac.cc", |
@@ -590,6 +591,8 @@ component("net") { |
"cert/x509_certificate_win.cc", |
"cert/x509_util_android.cc", |
"cert/x509_util_android.h", |
+ "cert/x509_util_ios.cc", |
+ "cert/x509_util_ios.h", |
"cert/x509_util_mac.cc", |
"cert/x509_util_mac.h", |
"cert/x509_util_nss.cc", |
@@ -1705,6 +1708,26 @@ component("net") { |
] |
} |
+ if (use_byte_certs) { |
+ if (is_ios) { |
+ sources -= [ "cert/x509_certificate_ios.cc" ] |
+ } |
+ if (is_mac) { |
+ sources -= [ "cert/x509_certificate_mac.cc" ] |
+ } |
+ if (use_nss_certs) { |
+ sources -= [ "cert/x509_certificate_nss.cc" ] |
+ } |
+ if (use_openssl_certs) { |
+ sources -= [ "cert/x509_certificate_openssl.cc" ] |
+ } |
+ if (is_win) { |
+ sources -= [ "cert/x509_certificate_win.cc" ] |
+ } |
+ } else { |
+ sources -= [ "cert/x509_certificate_bytes.cc" ] |
+ } |
+ |
if (!use_openssl_certs) { |
sources -= [ |
"cert/cert_database_openssl.cc", |