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

Unified Diff: net/BUILD.gn

Issue 2861813002: Switch NaCl to use_byte_certs. (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | 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 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",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698