Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: tools/gn/secondary/third_party/nss/BUILD.gn

Issue 24657003: GN: Return array from pkgconfig wrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698