platform_hardware_interfaces/boot/1.0/default
Connor O'Brien 3847ffcc0e Add statically linked boot HAL impl in recovery
The default Treble boot HAL implementation currently can only work in
recovery on devices that specifically build their libhardware
implementation as a shared library for recovery.

This CL adds the option to statically link the libhardware
implementation in recovery instead of finding it using
hw_get_module(). This new approach allows devices that define
PRODUCT_STATIC_BOOT_CONTROL_HAL to begin using the Treble HAL in
recovery without requiring device-specific changes.

A previous version of this CL broke some device builds by omitting
libbase.recovery from LOCAL_SHARED_LIBRARIES. This version fixes that
issue.

Test: adb sideload succeeds
Bug: 78598708
Change-Id: I1c2ef7fa59575ac7975129f7544f741459b8540e
Signed-off-by: Connor O'Brien <connoro@google.com>
2018-10-19 12:21:13 -07:00
..
Android.bp Reland "Set vendor: true for boot control HAL" 2018-10-03 17:51:58 +00:00
android.hardware.boot@1.0-service.rc Add 'vendor.' prefix to a vendor HAL service name 2017-09-12 08:01:42 +09:00
Android.mk Add statically linked boot HAL impl in recovery 2018-10-19 12:21:13 -07:00
BootControl.cpp Add statically linked boot HAL impl in recovery 2018-10-19 12:21:13 -07:00
BootControl.h Added AOSP license headers. 2016-11-29 23:07:09 +00:00
service.cpp bootctrl HAL uses "default" service name 2017-01-21 02:34:12 +00:00