From c5512e248f66535ac66ab01b12cef809729d7dfd Mon Sep 17 00:00:00 2001 From: Aaron Ding Date: Sat, 23 Apr 2022 06:50:27 +0800 Subject: [PATCH] Enable camera builds Bug: 229340586 Change-Id: Ib08750b89d7ad0a61cf00a650db75fb68cf027ca Signed-off-by: Aaron Ding --- device.mk | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/device.mk b/device.mk index 0246ff0f..8585b6ae 100644 --- a/device.mk +++ b/device.mk @@ -51,7 +51,8 @@ PRODUCT_SOONG_NAMESPACES += \ vendor/google/interfaces \ vendor/google_devices/common/proprietary/confirmatioui_hal \ vendor/google_nos/host/android \ - vendor/google_nos/test/system-test-harness + vendor/google_nos/test/system-test-harness \ + vendor/google/camera LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image.lz4 @@ -500,14 +501,14 @@ $(call soong_config_set,google3a_config,soc,zuma) $(call soong_config_set,google3a_config,gcam_awb,true) $(call soong_config_set,google3a_config,ghawb_truetone,true) -# ifneq ($(wildcard vendor/google/services/LyricCameraHAL/src),) -# $(call soong_config_set,lyric,soc,zuma) -# $(call soong_config_set,lyric,use_lyric_camera_hal,true) +ifneq ($(wildcard vendor/google/services/LyricCameraHAL/src),) +$(call soong_config_set,lyric,soc,zuma) +$(call soong_config_set,lyric,use_lyric_camera_hal,true) # lyric::tuning_product is set in device-specific makefiles, # such as device/google/${DEVICE}/device-${DEVICE}.mk -# $(call soong_config_set,gch,hwl_library,lyric) -# endif +$(call soong_config_set,gch,hwl_library,lyric) +endif # WiFi PRODUCT_PACKAGES += \