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

Unified Diff: build/config/linux/pkg_config.gni

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 | « build/config/linux/BUILD.gn ('k') | build/config/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/linux/pkg_config.gni
diff --git a/build/config/linux/pkg_config.gni b/build/config/linux/pkg_config.gni
index 687afc51c853ddf40dfb5390c1da19819eb894e7..631d60aa9a110344c599c95230f8de82eb6acd79 100644
--- a/build/config/linux/pkg_config.gni
+++ b/build/config/linux/pkg_config.gni
@@ -39,16 +39,24 @@ pkg_config_script = "//build/config/linux/pkg-config.py"
# need to invoke it manually.
if (sysroot != "") {
# Pass the sysroot if we're using one (it requires the CPU arch also).
- pkg_config_args = ["-s", sysroot, "-a", cpu_arch]
+ pkg_config_args = [
+ "-s",
+ sysroot,
+ "-a",
+ cpu_arch,
+ ]
} else if (pkg_config != "") {
- pkg_config_args = ["-p", pkg_config]
+ pkg_config_args = [
+ "-p",
+ pkg_config,
+ ]
} else {
pkg_config_args = []
}
template("pkg_config") {
assert(defined(invoker.packages),
- "Variable |packages| must be defined to be a list in pkg_config.")
+ "Variable |packages| must be defined to be a list in pkg_config.")
config(target_name) {
args = pkg_config_args + invoker.packages
if (defined(invoker.extra_args)) {
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | build/config/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698