Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab5457c0 authored by Bill Yang's avatar Bill Yang
Browse files

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
parent 7c112657
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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))