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

Unified Diff: mojo/public/tools/bindings/mojom.gni

Issue 2328873004: mojom GNI: Implicit variant inheritance for deps (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index ed2fb461353c64fe5b4c991da2988288564d203f..be36cb49d6200e1ea6742b1bceeb4a5bcbd6aba6 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -402,10 +402,16 @@ template("mojom") {
"//mojo/public/cpp/bindings",
]
if (defined(invoker.deps)) {
- public_deps += invoker.deps
+ foreach(dep, invoker.deps) {
+ public_deps +=
+ [ get_label_info(dep, "label_no_toolchain") + variant_suffix ]
+ }
}
if (defined(invoker.public_deps)) {
- public_deps += invoker.public_deps
+ foreach(dep, invoker.public_deps) {
+ public_deps +=
+ [ get_label_info(dep, "label_no_toolchain") + variant_suffix ]
+ }
}
deps = []
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698