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) { |