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

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

Issue 297793004: Work on the Android GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | net/BUILD.gn » ('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 9
10 declare_args() { 10 declare_args() {
11 # Use OpenSSL instead of NSS. This is used for Android and NaCl untrusted 11 # Use OpenSSL instead of NSS. This is used for Android and NaCl untrusted
12 # code, and is experimental in other cases (see http://crbug.com/62803). 12 # code, and is experimental in other cases (see http://crbug.com/62803).
13 use_openssl = is_android || is_nacl 13 use_openssl = is_android || is_nacl
14 } 14 }
15 15
16 # True when we're using OpenSSL for certificate verification and storage. We 16 # True when we're using OpenSSL for certificate verification and storage. We
17 # only do this when we're using OpenSSL on desktop Linux systems. For other 17 # only do this when we're using OpenSSL on desktop Linux systems. For other
18 # systems (Mac/Win/Android) we use the system certificate features. 18 # systems (Mac/Win/Android) we use the system certificate features.
19 use_openssl_certs = use_openssl && is_linux 19 use_openssl_certs = use_openssl && (is_linux || is_android)
20 20
21 # Same meaning as use_openssl_certs but for NSS. 21 # Same meaning as use_openssl_certs but for NSS.
22 use_nss_certs = !use_openssl && is_linux 22 use_nss_certs = !use_openssl && is_linux
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698