odrefresh: Check build-time userfaultfd GC flag.
This is a safety net to fix artifacts if build-time right userfaultfd GC
flag doesn't match the runtime one.
Bug: 242553398
Test: -
1. Build a system image with `m`.
2. Flash to a device.
3. See odrefresh not compiling anything on the first boot.
Test: -
1. Build a system image with `OVERRIDE_ENABLE_UFFD_GC=true m`
2. Flash to a device.
3. See odrefresh compiling everything on the first boot (because
aosp/2308662 has not landed yet).
Change-Id: If8cddabc8beac588ca1e75d01ee3846a2bbf56c8
2 files changed