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
This commit is contained in:
Krzysztof Kosiński 2021-03-24 09:56:47 -07:00
parent b80f23dbdc
commit 8d18593f3c

View file

@ -495,8 +495,10 @@ SOONG_CONFIG_google3a_config_target_device := $(LOCAL_TARGET_PRODUCT)
SOONG_CONFIG_NAMESPACES += gch SOONG_CONFIG_NAMESPACES += gch
SOONG_CONFIG_gch += \ SOONG_CONFIG_gch += \
feature \ feature \
disable_lazy_hal
# Disable Legacy common hal modules for whi # Disable Legacy common hal modules for whi
SOONG_CONFIG_gch_feature := use_lyric_hal SOONG_CONFIG_gch_feature := use_lyric_hal
SOONG_CONFIG_gch_disable_lazy_hal := true
# WiFi # WiFi
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \