summaryrefslogtreecommitdiffstats
path: root/build/config/crypto.gni
blob: dee6a20e6e3c999c5726aa2605562d38a678b473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This file declares build flags for the SSL library configuration.
#
# TODO(brettw) this should probably be moved to src/crypto or somewhere, and
# the global build dependency on it should be removed.

declare_args() {
  # Use OpenSSL instead of NSS. This is used for Android and is experimental
  # in other cases (see http://crbug.com/62803).
  use_openssl = false
}

if (is_linux && !use_openssl) {
  use_nss = true
} else {
  use_nss = false
}