Mark BOARD_HAL_STATIC_LIBRARIES as obsolete.

No device in our tree use this obsolete thing now.
OEM devices with libhealthd should define health HAL
2.1 instead.

Test: builds
Fixes: 127677771
Change-Id: I1861452a3f7fc97ee20615c8f9f25422f9f507e2
This commit is contained in:
Yifan Hong
2019-10-11 15:52:44 -07:00
parent a5479b71e0
commit 88adfc6349
4 changed files with 16 additions and 10 deletions

View File

@@ -1,5 +1,17 @@
# Build System Changes for Android.mk Writers
# `BOARD_HAL_STATIC_LIBRARIES` and `LOCAL_HAL_STATIC_LIBRARIES` are obsolete {#BOARD_HAL_STATIC_LIBRARIES}
Define proper HIDL / Stable AIDL HAL instead.
* For libhealthd, use health HAL. See instructions for implementing
health HAL:
* [hardware/interfaces/health/2.1/README.md] for health 2.1 HAL (recommended)
* [hardware/interfaces/health/1.0/README.md] for health 1.0 HAL
* For libdumpstate, use at least Dumpstate HAL 1.0.
## PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete {#PRODUCT_STATIC_BOOT_CONTROL_HAL}
`PRODUCT_STATIC_BOOT_CONTROL_HAL` was the workaround to allow sideloading with
@@ -480,3 +492,5 @@ version.
[external/fonttools/Lib/fontTools/Android.bp]: https://android.googlesource.com/platform/external/fonttools/+/master/Lib/fontTools/Android.bp
[frameworks/base/Android.bp]: https://android.googlesource.com/platform/frameworks/base/+/master/Android.bp
[frameworks/base/data/fonts/Android.mk]: https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/Android.mk
[hardware/interfaces/health/1.0/README.md]: https://android.googlesource.com/platform/hardware/interfaces/+/master/health/1.0/README.md
[hardware/interfaces/health/2.1/README.md]: https://android.googlesource.com/platform/hardware/interfaces/+/master/health/2.1/README.md