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

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: rebase Created 5 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 | « chrome/common/net/BUILD.gn ('k') | chrome/utility/importer/nss_decryptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/BUILD.gn
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
index c469307e10a76cad2fae501d136d89cd9d324839..dbf408f7f39ddb0dddf37ad76fdb9fdc4538ac88 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -83,21 +83,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) {
« no previous file with comments | « chrome/common/net/BUILD.gn ('k') | chrome/utility/importer/nss_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698