Define PRODUCT_HIDL_ENABLED

This is used to force HIDL to be enabled for device bring-up when
partners have converted all of their AOSP HAL implementations to AIDL,
but still have some partner-owned interfaces that they are working on
converting from HIDL TO AIDL.

Test: PRODUCT_HIDL_ENABLED = true && adb shell lshal
Test: PRODUCT_HIDL_ENABLED = false && adb shell lshal
Bug: 332548148

Change-Id: I6e6dc6c9e22d31c270e3c3520fc074bbeb349808
This commit is contained in:
Devin Moore
2024-04-03 15:38:46 +00:00
parent 83066f6dc0
commit 6c5aedfbef

View File

@@ -325,6 +325,13 @@ _product_single_value_vars += \
# set this variable to prevent OTA failures. # set this variable to prevent OTA failures.
_product_list_vars += PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS _product_list_vars += PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS
# If set to true, this product forces HIDL to be enabled by declaring android.hidl.manager
# and android.hidl.token in the framework manifest. The product will also need to add the
# 'hwservicemanager' service to PRODUCT_PACKAGES if its SHIPPING_API_LEVEL is greater than 34.
# This should only be used during bringup for devices that are targeting FCM 202404 and still
# have partner-owned HIDL interfaces that are being converted to AIDL.
_product_single_value_vars += PRODUCT_HIDL_ENABLED
# If set to true, this product builds a generic OTA package, which installs generic system images # If set to true, this product builds a generic OTA package, which installs generic system images
# onto matching devices. The product may only build a subset of system images (e.g. only # onto matching devices. The product may only build a subset of system images (e.g. only
# system.img), so devices need to install the package in a system-only OTA manner. # system.img), so devices need to install the package in a system-only OTA manner.