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

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

Issue 231673006: Add SSL support to the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for minimal Created 6 years, 8 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') | build/config/linux/pkg_config.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 9
10 declare_args() { 10 declare_args() {
11 # Use OpenSSL instead of NSS. This is used for Android and is experimental 11 # Use OpenSSL instead of NSS. This is used for Android and NaCl untrusted
12 # in other cases (see http://crbug.com/62803). 12 # code, and is experimental in other cases (see http://crbug.com/62803).
13 use_openssl = false 13 use_openssl = is_android || is_nacl
14 } 14 }
15 15
16 if (is_linux && !use_openssl) { 16 if (is_linux && !use_openssl) {
17 use_nss = true 17 use_nss = true
18 } else { 18 } else {
19 use_nss = false 19 use_nss = false
20 } 20 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/linux/pkg_config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698