platform_bootable_recovery/otautil
Tao Bao cf60a44bd4 Drop the dependency on AB_OTA_UPDATER flag.
This shortens the gap between A/B and non-A/B builds, by replacing the
dependency on build-time flag with runtime detection instead. It also
allows building and testing both paths regardless of the target OTA
type.

The size increase to /sbin/recovery looks negligible (< 0.01%).
 - marlin: increased from 2084928 to 2085024;
 - angler: increased from 2084776 to 2084896.

Test: Run recovery_component_test on angler and marlin.
Test: Sideload an A/B OTA package on marlin.
Test: Sideload a non-A/B OTA package on angler.
Change-Id: I1d927d1ede9713fb42f73b4fe324aa5705ee6f99
2018-06-19 10:50:43 -07:00
..
include/otautil Drop the dependency on AB_OTA_UPDATER flag. 2018-06-19 10:50:43 -07:00
Android.bp Move reboot() from common.h into otautil/sysutil.h. 2018-05-03 23:18:38 -07:00
dirutil.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00
mounts.cpp Merge libmounts into libotautil. 2018-04-27 21:13:57 -07:00
paths.cpp Drop the dependency on AB_OTA_UPDATER flag. 2018-06-19 10:50:43 -07:00
rangeset.cpp Load-balancing update_verifier worker threads. 2017-11-08 23:04:28 -08:00
sysutil.cpp Move reboot() from common.h into otautil/sysutil.h. 2018-05-03 23:18:38 -07:00
thermalutil.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00