Don't do force-compile in CompOS mode
This was originally done to ensure that CompOS didn't reuse old
untrusted artifacts. But that won't happen - CompOS always runs with
the output directory initially empty; authfs doesn't provide a
mechanism to have a writable directory with untrusted files in it
(b/203630168).
And it is harmful - e.g. if ART has not been updated the force-compile
will generate a boot.art, which will then be deleted on reboot, and as
a consequence the other artifacts won't be loaded into system server
etc.
Bug: 211458160
Test: atest OdrefreshHostTest#verifyCompilationOsMode
Test: manual
Change-Id: I888e4b13dd29e298f6635569d5f06d36bc672fc8
2 files changed