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

Unified Diff: build/toolchain/gcc_toolchain.gni

Issue 350743004: Allow dependencies of toolchains in GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | tools/gn/builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/gcc_toolchain.gni
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
index bc5288300fa43790180cb7445a37cfcb234c7aad..9ad47a4900ee8b84f68f7aa90852602590e41189 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -21,6 +21,8 @@
# The contents of these strings, if specified, will be placed around
# the libs section of the linker line. It allows one to inject libraries
# at the beginning and end for all targets in a toolchain.
+# - deps
+# Just fowarded to the toolchain definition.
template("gcc_toolchain") {
toolchain(target_name) {
assert(defined(invoker.cc), "gcc_toolchain() must specify a \"cc\" value")
@@ -107,5 +109,9 @@ template("gcc_toolchain") {
cpu_arch = invoker.toolchain_cpu_arch
os = invoker.toolchain_os
}
+
+ if (defined(invoker.deps)) {
+ deps = invoker.deps
+ }
}
}
« no previous file with comments | « no previous file | tools/gn/builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698