Home | History | Annotate | Download | only in ssl
      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
      3 # found in the LICENSE file.
      4 
      5 # This file declares build flags for the SSL library configuration.
      6 
      7 declare_args() {
      8   # Use OpenSSL instead of NSS. This is used for Android and is experimental
      9   # in other cases (see http://crbug.com/62803).
     10   use_openssl = false
     11 
     12   # Use the built-in system SSL library rather than our tree's libnss/OpenSSL.
     13   use_system_ssl = false
     14 }
     15 
     16 if (is_linux && !use_openssl) {
     17   use_nss = true
     18 } else {
     19   use_nss = false
     20 }
     21