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

Unified Diff: build/config/BUILD.gn

Issue 242173002: Make GN build work on Mac again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 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 | build/config/crypto.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 1dfbfe7d1130f47ecad302d0c594b5620e2d96f0..866c9a8d25513ae2cad1f7b553945acd53d2bffe 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -104,7 +104,13 @@ config("feature_flags") {
}
if (use_openssl) {
defines += [ "USE_OPENSSL=1" ]
- } else {
+ if (use_openssl_certs) {
+ defines += [ "USE_OPENSSL_CERTS=1" ]
+ }
+ } else if (use_nss_certs) {
+ # USE_NSS really means "use nss for certificate validation and storage"
+ # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice
+ # to rename this but we're hoping to transition away from NSS.
defines += [ "USE_NSS=1" ]
}
if (use_ozone) {
« no previous file with comments | « no previous file | build/config/crypto.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698