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 6f129b52e915394152a1dd9e75fd8e60ebe5ad6b..0a61bbf0c239ae03c120538b683ce95660fd9edb 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))', |
], |
+ 'mojom_include_path%': '<(DEPTH)', |
'require_interface_bindings%': 1, |
}, |
# Given mojom files as inputs, generate sources. These sources will be |
@@ -42,7 +43,8 @@ |
'stamp_filename': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/<(_target_name).stamp', |
'mojom_import_args%': [ |
'-I<(DEPTH)', |
- '-I<(DEPTH)/third_party/mojo/src' |
+ '-I<(DEPTH)/third_party/mojo/src', |
+ '-I<(mojom_include_path)', |
], |
}, |
'inputs': [ |
@@ -77,6 +79,7 @@ |
# preventing the code generator from being directly depended on by the "all" |
# target. |
'suppress_wildcard': '1', |
+ 'hard_dependency': '1', |
'direct_dependent_settings': { |
# A target directly depending on this action will compile the generated |
# sources. |