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

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

Issue 109443004: Separate out pkg-config execution in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 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 }
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