From 8d18593f3c3b672a6cec07fbf5b0275792340b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Wed, 24 Mar 2021 09:56:47 -0700 Subject: [PATCH] Disable GCH lazy HAL. Uses new GCH config toggle to ensure that the lazy HAL is definitely not present on gs101 devices, as it currently causes increased startup latency and CTS failures. Bug: 183612387 Test: mm in hardware/google/camera, verify that lazy HAL is not present in the out directory. Change-Id: I3b17be1c216b796a9820e14b3520f6e43c6442ab --- device.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.mk b/device.mk index 9d59e57f..698f9eab 100644 --- a/device.mk +++ b/device.mk @@ -495,8 +495,10 @@ SOONG_CONFIG_google3a_config_target_device := $(LOCAL_TARGET_PRODUCT) SOONG_CONFIG_NAMESPACES += gch SOONG_CONFIG_gch += \ feature \ + disable_lazy_hal # Disable Legacy common hal modules for whi SOONG_CONFIG_gch_feature := use_lyric_hal +SOONG_CONFIG_gch_disable_lazy_hal := true # WiFi PRODUCT_PACKAGES += \