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..57534fd7aad800595486c809e38f8a2bb7b619e0 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', |
+ ], |
+ }], |
+ ], |
# 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. |