OLD | NEW |
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 # |
| 7 # TODO(brettw) this should probably be moved to src/crypto or somewhere, and |
| 8 # the global build dependency on it should be removed. |
6 | 9 |
7 declare_args() { | 10 declare_args() { |
8 # 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 is experimental |
9 # in other cases (see http://crbug.com/62803). | 12 # in other cases (see http://crbug.com/62803). |
10 use_openssl = false | 13 use_openssl = false |
11 } | 14 } |
12 | 15 |
13 if (is_linux && !use_openssl) { | 16 if (is_linux && !use_openssl) { |
14 use_nss = true | 17 use_nss = true |
15 } else { | 18 } else { |
16 use_nss = false | 19 use_nss = false |
17 } | 20 } |
OLD | NEW |