mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-28 05:11:51 +00:00
health HAL: overrides healthd.
healthd should not be installed on the device
Test: lshal -i | grep IHealth/backup fails
Test: lshal debug android.hardware.health@2.0::IHealth/backup
shows nothing
Test: vts_treble_vintf_test shows nothing about /backup
instance
Bug: 77541952
Change-Id: I1479da3394ee7bb0f3fba8b6bcb4e12b50ed8190
This commit is contained in:
@@ -154,6 +154,9 @@ DEVICE_FRAMEWORK_MANIFEST_FILE := device/google/wahoo/framework_manifest.xml
|
||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := device/google/wahoo/device_framework_matrix.xml
|
||||
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
|
||||
|
||||
# Remove health /backup instance
|
||||
DEVICE_FRAMEWORK_MANIFEST_FILE += system/libhidl/vintfdata/manifest_healthd_exclude.xml
|
||||
|
||||
# Use mke2fs to create ext4 images
|
||||
TARGET_USES_MKE2FS := true
|
||||
|
||||
|
||||
@@ -183,3 +183,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.drm@
|
||||
# Remove Widevine HAL 1.0
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.drm@1.0-service.widevine.rc)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.drm@1.0-service.widevine)
|
||||
|
||||
# Remove healthd
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/healthd)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/init/healthd.rc)
|
||||
|
||||
@@ -46,4 +46,8 @@ cc_binary {
|
||||
],
|
||||
|
||||
header_libs: ["libhealthd_headers"],
|
||||
|
||||
overrides: [
|
||||
"healthd",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user