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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/secondary/crypto/ssl/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/third_party/nss/BUILD.gn
diff --git a/tools/gn/secondary/third_party/nss/BUILD.gn b/tools/gn/secondary/third_party/nss/BUILD.gn
index aad45fc3a5363240c409cda3af9622491e627bd2..e175904d4ea16064c29ca45b5c0476f9e8c2fa61 100644
--- a/tools/gn/secondary/third_party/nss/BUILD.gn
+++ b/tools/gn/secondary/third_party/nss/BUILD.gn
@@ -2,15 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/linux/pkg_config.gni")
+
# On Linux we always use the system NSS except for SSL.
if (is_linux) {
- pkg_script = "//build/config/linux/pkg-config.py"
-
- config("nss_linux_config") {
- pkgresult = exec_script(pkg_script, [ "nss" ], "value")
- include_dirs = pkgresult[0]
- cflags = pkgresult[1]
- libs = pkgresult[2]
- lib_dirs = pkgresult[3]
+ pkg_config("nss_linux_config") {
+ packages = [ "nss" ]
}
}
« 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