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

Unified Diff: net/BUILD.gn

Issue 2913253003: Convert Windows to use X509CertificateBytes. (Closed)
Patch Set: rebase Created 3 years, 6 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 | « chrome/browser/ui/webui/settings_utils_win.cc ('k') | net/cert/cert_verify_proc_unittest.cc » ('j') | 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 03301b0fc20828490ef7225d0c03481634178853..d63ac4abf534b9f8019b00693565f5684afc376a 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -42,7 +42,7 @@ enable_net_mojo = !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 || is_ios
+use_byte_certs = is_mac || is_android || is_nacl || is_ios || is_win
buildflag_header("features") {
header = "net_features.h"
@@ -610,6 +610,8 @@ component("net") {
"cert/x509_util_mac.h",
"cert/x509_util_nss.cc",
"cert/x509_util_nss.h",
+ "cert/x509_util_win.cc",
+ "cert/x509_util_win.h",
"cert_net/cert_net_fetcher_impl.cc",
"cert_net/cert_net_fetcher_impl.h",
"cert_net/nss_ocsp.cc",
@@ -3466,6 +3468,7 @@ bundle_data("net_unittests_bundle_data") {
"data/parse_certificate_unittest/serial_negative.pem",
"data/parse_certificate_unittest/serial_zero_padded.pem",
"data/parse_certificate_unittest/serial_zero_padded_21_bytes.pem",
+ "data/parse_certificate_unittest/signature_algorithm_null.pem",
"data/parse_certificate_unittest/subject_alt_name.pem",
"data/parse_certificate_unittest/subject_t61string.pem",
"data/parse_certificate_unittest/subject_t61string_1-32.pem",
« no previous file with comments | « chrome/browser/ui/webui/settings_utils_win.cc ('k') | net/cert/cert_verify_proc_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698