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 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 | 6 |
7 # On Linux we always use the system NSS except for SSL. | |
8 if (is_linux) { | 7 if (is_linux) { |
9 pkg_config("nss_linux_config") { | 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") { |
10 packages = [ "nss" ] | 16 packages = [ "nss" ] |
| 17 extra_args = [ "-v", "-lssl3" ] |
11 } | 18 } |
12 } | 19 } |
| 20 |
OLD | NEW |