1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This file declares build flags for the SSL library configuration.
7 # TODO(brettw) this should probably be moved to src/crypto or somewhere, and
8 # the global build dependency on it should be removed.
10 # PLEASE TRY TO AVOID ADDING FLAGS TO THIS FILE in cases where grit isn't
11 # required. See the declare_args block of BUILDCONFIG.gn for advice on how
12 # to set up feature flags.
15 # Use OpenSSL instead of NSS. This is used for all platforms but iOS. (See
16 # http://crbug.com/338886).
20 # True when we're using OpenSSL for representing certificates. When targeting
21 # Android, the platform certificate library is used for certificate
22 # verification. On NaCl, verification isn't supported. On other targets, this
23 # flag also enables OpenSSL for certificate verification, but this configuration
25 use_openssl_certs = is_android || is_nacl
27 # True if NSS is used for certificate verification. Note that this is
28 # independent from use_openssl. It is possible to use OpenSSL for the crypto
29 # library, but NSS for the platform certificate library.
30 use_nss_certs = is_linux