blob: 5788f3e5d6d96f1ba8724fe2624824e6e0151652 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# Copyright 2014 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
5import("//build/config/linux/pkg_config.gni")
6
7if (is_linux) {
8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL
9 # library but the system NSS libraries. Non-Linux platforms using NSS use the
10 # hermetic one in //third_party/nss.
11 #
12 # Generally you should depend on //crypto:platform instead of using this
13 # config since that will properly pick up NSS or OpenSSL depending on
14 # platform and build config.
15 pkg_config("system_nss_no_ssl_config") {
16 packages = [ "nss" ]
17 extra_args = [
18 "-v",
19 "-lssl3",
20 ]
21 }
22}