Android 9.0.0 Release 16 (PQ1A.181105.017.A1)
Mark classes-with-res.jar as .KATI_RESTAT

classes-with-res.jar uses commit-change-for-toc, which only updates
the output file if it has changed, but the rule is not marked as
restat.  This causes ninja to assume the file was rebuilt for the
current run, but on the next run it sees the old timestamp and thinks
it is dirty.

Mark the rule as restat in ninja with .KATI_RESTAT.

Bug: 79504400
Test: m java && m java
Change-Id: I09be19d05301418850f58eb24094e342109ca3e6
Merged-In: I09be19d05301418850f58eb24094e342109ca3e6
(cherry picked from commit 5837fa0f14e0b59bdf4777800c4083f382e68c52)
1 file changed