| 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") |
| 6 |
| 5 # On Linux we always use the system NSS except for SSL. | 7 # On Linux we always use the system NSS except for SSL. |
| 6 if (is_linux) { | 8 if (is_linux) { |
| 7 pkg_script = "//build/config/linux/pkg-config.py" | 9 pkg_config("nss_linux_config") { |
| 8 | 10 packages = [ "nss" ] |
| 9 config("nss_linux_config") { | |
| 10 pkgresult = exec_script(pkg_script, [ "nss" ], "value") | |
| 11 include_dirs = pkgresult[0] | |
| 12 cflags = pkgresult[1] | |
| 13 libs = pkgresult[2] | |
| 14 lib_dirs = pkgresult[3] | |
| 15 } | 11 } |
| 16 } | 12 } |
| OLD | NEW |