summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bill Yang <yangbill@google.com> 2024-09-06 01:38:58 +0000
committer Bill Yang <yangbill@google.com> 2024-09-10 03:39:50 +0000
commitab5457c038aee6ef785e02ef8d19236208f74e3d (patch)
tree2aa7e8dbed227c56245d007127b8b9ff611affbe
parent7c112657244506c784b4ea4bf8b2d70ae7ef2d9f (diff)
Export USE_CAMERA_V4L2_HAL to soong
Export the variable for hardware/libhardware/modules/camera/3_4:camera.v4l2 Bug: 349300092 Test: lunch aosp_cheetah-trunk_staging-userdebug; \ USE_CAMERA_V4L2_HAL=true m camera.v4l2 camera.v4l2_test Change-Id: I590e5218dbe51af004a15d2da4456da7515e72dc
-rw-r--r--core/android_soong_config_vars.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk
index 5fc8fd4027..314f89f7d4 100644
--- a/core/android_soong_config_vars.mk
+++ b/core/android_soong_config_vars.mk
@@ -182,3 +182,6 @@ endif
# Add target_use_pan_display flag for hardware/libhardware:gralloc.default
$(call soong_config_set_bool,gralloc,target_use_pan_display,$(if $(filter true,$(TARGET_USE_PAN_DISPLAY)),true,false))
+
+# Add use_camera_v4l2_hal flag for hardware/libhardware/modules/camera/3_4:camera.v4l2
+$(call soong_config_set_bool,camera,use_camera_v4l2_hal,$(if $(filter true,$(USE_CAMERA_V4L2_HAL)),true,false))