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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
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 57213de0195beb2112712c5e022f6563611e58ec..c2e6b0eef350c2619a4b971c8a871944d747db8d 100644
--- a/tools/gn/secondary/third_party/nss/BUILD.gn
+++ b/tools/gn/secondary/third_party/nss/BUILD.gn
@@ -7,7 +7,8 @@ if (is_linux) {
pkg_script = "//build/config/linux/pkg-config.py"
config("nss_linux_config") {
- cflags = exec_script(pkg_script, [ "--cflags", "nss" ], "list lines")
- ldflags = exec_script(pkg_script, [ "--libs", "nss" ], "list lines")
+ pkgresult = exec_script(pkg_script, [ "nss" ], "value")
+ cflags = pkgresult[0]
+ ldflags = pkgresult[1]
}
}

Powered by Google App Engine
This is Rietveld 408576698