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

Unified Diff: third_party/mojo/mojom_bindings_generator_explicit.gypi

Issue 1127293003: Update mojo sdk to rev f84766d3b6420b7cf6a113d9d65d73cb5fe18d90 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 5 years, 7 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 | « third_party/mojo/mojom_bindings_generator.gypi ('k') | third_party/mojo/src/mojo/public/VERSION » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/mojom_bindings_generator_explicit.gypi
diff --git a/third_party/mojo/mojom_bindings_generator_explicit.gypi b/third_party/mojo/mojom_bindings_generator_explicit.gypi
index 3d2d80b6f348beae428a4d39d0bd3509a99b758e..6f129b52e915394152a1dd9e75fd8e60ebe5ad6b 100644
--- a/third_party/mojo/mojom_bindings_generator_explicit.gypi
+++ b/third_party/mojo/mojom_bindings_generator_explicit.gypi
@@ -12,6 +12,7 @@
'mojom_generated_outputs': [
'<!@(python <(DEPTH)/third_party/mojo/src/mojo/public/tools/bindings/mojom_list_outputs.py --basedir <(mojom_base_output_dir) <@(mojom_files))',
],
+ 'require_interface_bindings%': 1,
},
# Given mojom files as inputs, generate sources. These sources will be
# exported to another target (via dependent_settings) to be compiled. This
@@ -65,6 +66,13 @@
'message': 'Generating Mojo bindings from <@(mojom_files)',
}
],
+ 'conditions': [
+ ['require_interface_bindings==1', {
+ 'dependencies': [
+ '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_interface_bindings_generation',
+ ],
+ }],
+ ],
# 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.
@@ -102,6 +110,7 @@
'<@(mojom_bindings_generator_sources)',
'<@(mojom_files)',
],
+ 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ],
},
}
},
« no previous file with comments | « third_party/mojo/mojom_bindings_generator.gypi ('k') | third_party/mojo/src/mojo/public/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698