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

Unified Diff: tools/gn/secondary/crypto/ssl/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, 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
« no previous file with comments | « tools/gn/secondary/build/config/linux/pkg-config.py ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/crypto/ssl/BUILD.gn
diff --git a/tools/gn/secondary/crypto/ssl/BUILD.gn b/tools/gn/secondary/crypto/ssl/BUILD.gn
index b48f111f5260bc9af1f1dd8830000a931daed8c5..a937a70624a6edae04502cf3b0468fd5b1a557d3 100644
--- a/tools/gn/secondary/crypto/ssl/BUILD.gn
+++ b/tools/gn/secondary/crypto/ssl/BUILD.gn
@@ -17,8 +17,10 @@ if (is_linux && use_system_ssl) {
pkg_script = "//build/config/linux/pkg-config.py"
config("system_ssl_config") {
defines = [ "USE_SYSTEM_SSL" ]
- 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")
+ includes = pkgresult[0]
+ cflags = pkgresult[1]
+ ldflags = pkgresult[2]
}
}
« no previous file with comments | « tools/gn/secondary/build/config/linux/pkg-config.py ('k') | tools/gn/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698