dex2oat: Use CLOCK_MONOTONIC, not REALTIME for a watchdog!
Prior to this commit, dex2oat was using the realtime clock to determine
whether or not to kill dex2oat when it ran too long.
This causes problems when the time on the system changes during dex2oat.
In particular, on victara, the time daemon would start up during dex2oat
of boot.art which causes that critical dex2oat operation to fail on boot.
dex2oat: Fix compilation of host binary on Mac due to watchdog fix
1 file changed