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

Unified Diff: chrome/utility/BUILD.gn

Issue 881213004: Support building BoringSSL with NSS certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: slightly tidier (edit: looks like this'll need a rebase later for try jobs to run.) Created 5 years, 10 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: chrome/utility/BUILD.gn
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
index a4ca50e18e41c4eef0629517d4b35e53fb80edb4..a5ffe91bc31b4d098471649b9db14216110de34b 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -72,21 +72,15 @@ static_library("utility") {
}
}
- if (use_openssl) {
- if (!is_win && !is_mac && !is_android) {
- sources -= [ "importer/nss_decryptor.cc" ]
- }
- } else { # !use_openssl
- if (!is_win && !is_mac) {
- sources += [
- "importer/nss_decryptor_system_nss.cc",
- "importer/nss_decryptor_system_nss.h",
- ]
- deps += [
- "//crypto",
- "//crypto:platform",
- ]
- }
+ if (use_nss_certs) {
+ sources += [
+ "importer/nss_decryptor_system_nss.cc",
+ "importer/nss_decryptor_system_nss.h",
+ ]
+ deps += [
+ "//crypto",
+ "//crypto:platform",
+ ]
}
if (!enable_print_preview) {

Powered by Google App Engine
This is Rietveld 408576698