Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index c5a8e731640eb8f656536d1661d18cbb6053d8ec..7c3074be09facf41cc8c54de22d68318c69db168 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -70,7 +70,10 @@ |
# certificates, use_openssl_certs must be set. |
'use_openssl%': 0, |
- # Typedef X509Certificate::OSCertHandle to OpenSSL's struct X509*. |
+ # Use OpenSSL for representing certificates. When targeting Android, |
+ # the platform certificate library is used for certificate |
+ # verification. On other targets, this flag also enables OpenSSL for |
+ # certificate verification, but this configuration is unsupported. |
'use_openssl_certs%': 0, |
# Disable viewport meta tag by default. |
@@ -681,20 +684,12 @@ |
}], |
# NSS usage. |
- ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_openssl==0', { |
+ ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', { |
'use_nss_certs%': 1, |
}, { |
'use_nss_certs%': 0, |
}], |
- # When OpenSSL is used for SSL and crypto on Unix-like systems, use |
- # OpenSSL's certificate definition. |
- ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_openssl==1', { |
- 'use_openssl_certs%': 1, |
- }, { |
- 'use_openssl_certs%': 0, |
- }], |
- |
# libudev usage. This currently only affects the content layer. |
['OS=="linux" and embedded==0', { |
'use_udev%': 1, |