summaryrefslogtreecommitdiffstats
path: root/build/java.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/java.gypi')
-rw-r--r--build/java.gypi10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/java.gypi b/build/java.gypi
index 576fdc4..17320a4 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'