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

Side by Side Diff: build/config/crypto.gni

Issue 1125033004: Clarify and update GN build flags docs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/features.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file declares build flags for the SSL library configuration. 5 # This file declares build flags for the SSL library configuration.
6 # 6 #
7 # TODO(brettw) this should probably be moved to src/crypto or somewhere, and 7 # TODO(brettw) this should probably be moved to src/crypto or somewhere, and
8 # the global build dependency on it should be removed. 8 # the global build dependency on it should be removed.
9 #
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.
9 13
10 declare_args() { 14 declare_args() {
11 # Use OpenSSL instead of NSS. This is used for Android, Mac, NaCl untrusted 15 # Use OpenSSL instead of NSS. This is used for Android, Mac, NaCl untrusted
12 # code, and Windows, and is experimental in other cases (see 16 # code, and Windows, and is experimental in other cases (see
13 # http://crbug.com/62803). 17 # http://crbug.com/62803).
14 use_openssl = is_android || is_mac || is_nacl || is_win 18 use_openssl = is_android || is_mac || is_nacl || is_win
15 } 19 }
16 20
17 # True when we're using OpenSSL for representing certificates. When targeting 21 # True when we're using OpenSSL for representing certificates. When targeting
18 # Android, the platform certificate library is used for certificate 22 # Android, the platform certificate library is used for certificate
19 # verification. On other targets, this flag also enables OpenSSL for certificate 23 # verification. On other targets, this flag also enables OpenSSL for certificate
20 # verification, but this configuration is unsupported. 24 # verification, but this configuration is unsupported.
21 use_openssl_certs = is_android 25 use_openssl_certs = is_android
22 26
23 # True if NSS is used for certificate verification. Note that this is 27 # True if NSS is used for certificate verification. Note that this is
24 # independent from use_openssl. It is possible to use OpenSSL for the crypto 28 # independent from use_openssl. It is possible to use OpenSSL for the crypto
25 # library, but NSS for the platform certificate library. 29 # library, but NSS for the platform certificate library.
26 use_nss_certs = is_linux 30 use_nss_certs = is_linux
OLDNEW
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698