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