Chromium Code Reviews| 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 68348fb4bc7484625ded06d2ee32f35ab8de7603..41bdad3bd6bc3230424b702e384956a7847b7cd7 100644 |
| --- a/mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi |
| +++ b/mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi |
| @@ -10,7 +10,7 @@ |
| 'mojom_base_output_dir': |
| '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', |
|
Nico
2014/11/25 04:09:12
(nit: i'd dedented this one instead of indenting 2
|
| 'mojom_generated_outputs': [ |
| - '<!@(python <(DEPTH)/mojo/public/tools/bindings/mojom_list_outputs.py --basedir <(mojom_base_output_dir) <@(mojom_files))', |
| + '<!@(python <(DEPTH)/mojo/public/tools/bindings/mojom_list_outputs.py --basedir <(mojom_base_output_dir) <@(mojom_files))', |
| ], |
| }, |
| 'actions': [ |
| @@ -39,10 +39,11 @@ |
| '--java_output_directory=<(java_out_dir)', |
| ], |
| 'message': 'Generating Mojo bindings from <@(mojom_files)', |
| - 'process_outputs_as_sources': 1, |
| } |
| ], |
| 'direct_dependent_settings': { |
| + # A target directly depending on this action will compile the generated |
| + # sources. |
| 'sources': [ |
| '<@(mojom_generated_outputs)', |
| ], |
| @@ -51,6 +52,9 @@ |
| '<(DEPTH)', |
| '<(SHARED_INTERMEDIATE_DIR)', |
| ], |
| + # Make sure the generated header files are available for any static library |
| + # that depends on a static library that depends on this generator. |
| + 'hard_dependency': 1, |
| 'direct_dependent_settings': { |
| # Include paths needed to find the generated header files and their |
| # transitive dependancies when using the library. |
| @@ -65,5 +69,4 @@ |
| }, |
| } |
| }, |
| - 'hard_dependency': 1, |
| } |