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

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: empty list 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
« no previous file with comments | « tools/gn/secondary/crypto/ssl/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 includes = pkgresult[0]
12 cflags = pkgresult[1]
13 ldflags = pkgresult[2]
12 } 14 }
13 } 15 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/crypto/ssl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698