Index: net/BUILD.gn |
diff --git a/net/BUILD.gn b/net/BUILD.gn |
index 6a354e428ca608951d0f097058869bb6b1cac470..108b072a3222620a47eab044dd14296a7efc3774 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 |
+use_byte_certs = is_mac || is_android || is_nacl |
buildflag_header("features") { |
header = "net_features.h" |
@@ -245,9 +245,9 @@ component("net") { |
"cert/x509_cert_types.h", |
"cert/x509_certificate.cc", |
"cert/x509_certificate.h", |
+ "cert/x509_certificate_bytes.cc", |
"cert/x509_certificate_net_log_param.cc", |
"cert/x509_certificate_net_log_param.h", |
- "cert/x509_certificate_openssl.cc", |
"cert/x509_util.cc", |
"cert/x509_util.h", |
"cert/x509_util_openssl.cc", |
@@ -598,11 +598,11 @@ 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", |
"cert/x509_certificate_nss.cc", |
+ "cert/x509_certificate_openssl.cc", |
"cert/x509_certificate_win.cc", |
"cert/x509_util_android.cc", |
"cert/x509_util_android.h", |