Update SoC-specific Lyric config.

Bug: 280124102
Test: presubmit
Change-Id: Ifbf67197a7001c615def580856540e762cdbb286
This commit is contained in:
Krzysztof Kosiński 2023-04-29 09:29:19 +00:00
parent 16068b0ea4
commit be4433dfa7

View file

@ -536,28 +536,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
liboemcrypto liboemcrypto
$(call soong_config_set,google3a_config,soc,gs101) # Lyric Camera HAL settings
$(call soong_config_set,google3a_config,gcam_awb,true) include device/google/gs-common/camera/lyric.mk
$(call soong_config_set,google3a_config,ghawb_truetone,true)
# Determine if Lyric is in the tree, and only have GCH build against it
# if it is. Cases when Lyric isn't going to be in the tree:
# - Non-pixel gs101 devices that exclude vendor/google/services/LyricCameraHAL/src (none as of now)
# - master-without-vendor and other types of AOSP builds (those won't built GCH either, but need this to actually start building)
#
# Builds that will have it are
# - Regular gs101 builds
# - PDK gs101 builds because they still have vendor/google/services/LyricCameraHAL/src
ifneq ($(wildcard vendor/google/services/LyricCameraHAL/src),)
$(call soong_config_set,lyric,soc,gs101) $(call soong_config_set,lyric,soc,gs101)
$(call soong_config_set,lyric,use_lyric_camera_hal,true) $(call soong_config_set,google3a_config,soc,gs101)
# lyric::tuning_product is set in device-specific makefiles,
# such as device/google/raviole/device-oriole.mk
# Camera HAL library selection
$(call soong_config_set,gch,hwl_library,lyric)
endif
# WiFi # WiFi
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \