Index: build/android/java_cpp_template.gypi |
diff --git a/build/android/java_cpp_template.gypi b/build/android/java_cpp_template.gypi |
index 6233e6aef9180f8a5ff75571f77ab62375fd6945..fe4238af84fd700979748a2d62bba311d4fc5435 100644 |
--- a/build/android/java_cpp_template.gypi |
+++ b/build/android/java_cpp_template.gypi |
@@ -34,13 +34,18 @@ |
'include_path%': '<(DEPTH)', |
'output_dir': '<(SHARED_INTERMEDIATE_DIR)/templates/<(package_name)', |
}, |
- # Ensure that the output directory is used in the class path |
- # when building targets that depend on this one. |
'direct_dependent_settings': { |
'variables': { |
+ # Ensure that the output directory is used in the class path |
+ # when building targets that depend on this one. |
'generated_src_dirs': [ |
'<(output_dir)/', |
], |
+ # Ensure dependents are rebuilt when sources for this rule change. |
+ 'additional_input_paths': [ |
+ '<@(_sources)', |
+ '<@(template_deps)', |
+ ], |
}, |
}, |
# Define a single rule that will be apply to each .template file |