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

Unified Diff: mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi

Issue 747253002: GYP: prevent code generator from being directly added to All. (Closed) Base URL: git@github.com:domokit/mojo.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 | « 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_bindings_generator_explicit.gypi
diff --git a/mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi b/mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi
index 512e22fe1e8a4e591afab510d4cdb2af226f4259..52b24522e2d05189102d59e04ffda65959855c2a 100644
--- a/mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi
+++ b/mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi
@@ -45,6 +45,10 @@
'message': 'Generating Mojo bindings from <@(mojom_files)',
}
],
+ # Prevent the generated sources from being injected into the "all" target by
+ # preventing the code generator from being directly depended on by the "all"
+ # target.
+ 'suppress_wildcard': '1',
'direct_dependent_settings': {
# A target directly depending on this action will compile the generated
# sources.
« 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