Index: build/java.gypi |
diff --git a/build/java.gypi b/build/java.gypi |
index 576fdc4475ede4ddccaffcdeca1aab2df00c239d..17320a4f802fe91078679800bbbe8a180947a818 100644 |
--- a/build/java.gypi |
+++ b/build/java.gypi |
@@ -138,6 +138,11 @@ |
'--R-dir', '<(R_dir)', |
'--res-dir', '<(res_dir)', |
'--out-res-dir', '<(out_res_dir)', |
+ |
+ # Add list of inputs to the command line, so if inputs change |
+ # (e.g. if a resource if removed), the command will be re-run. |
+ # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. |
+ '--ignore', '>(_inputs)', |
], |
}, |
], |
@@ -174,6 +179,11 @@ |
'-DOUT_DIR=<(ant_build_out)/<(_target_name)', |
'-DJAVAC_INCLUDES=>(javac_includes)', |
+ # Add list of inputs to the command line, so if inputs change |
+ # (e.g. if a Java file is removed), the command will be re-run. |
+ # TODO(newt): remove this once crbug.com/177552 is fixed in ninja. |
+ '-DTHIS_IS_IGNORED=>(_inputs)', |
+ |
'-Dbasedir=<(java_in_dir)', |
'-buildfile', |
'<(DEPTH)/build/android/ant/chromium-jars.xml' |