libcamera/src/android
Laurent Pinchart e5f8d40bad meson: Don't unnecessarily fallback to libyuv wrap
Before commit eeaa7de21b ("libcamera: pipeline: Add test pattern for
VirtualPipelineHandler") the libyuv dependency was only needed for the
Android adaptation layer. As libyuv isn't packaged by most distribution,
meson fell back to using a meson wrap if the Android adaptation layer
was enabled and the library wasn't found.

With commit eeaa7de21b, libyuv is also used by the virtual pipeline
handler, and the meson wrap fallback handling got centralized and became
unconditional, so the wrap is downloaded even if the components
depending on libyuv are all disabled. This causes unnecessary downloads
at setup time, which can be problematic on build systems without an
internet connection.

Fix this by making the wrap fallback conditional on the components that
use libyuv.

Fixes: eeaa7de21b ("libcamera: pipeline: Add test pattern for VirtualPipelineHandler")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Harvey Yang <chenghaoyang@chromium.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-11-26 19:05:17 +02:00
..
cros libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
data libcamera: Add missing SPDX headers for miscellaneous CC0-1.0 contents 2022-09-30 21:51:23 +03:00
jpeg libcamera: Avoid variable-length arrays 2024-07-31 01:22:13 +03:00
metadata android: metadata: Add SPDX tag 2019-08-12 10:34:13 +02:00
mm libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
yuv libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera3_hal.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_buffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_capabilities.cpp libcamera: android: Add face detection control support 2024-10-01 21:02:37 +02:00
camera_capabilities.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_device.cpp libcamera: android: Add face detection control support 2024-10-01 21:02:37 +02:00
camera_device.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_hal_config.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_hal_config.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_hal_manager.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_hal_manager.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_metadata.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_metadata.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_ops.cpp libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
camera_ops.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_request.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_request.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_stream.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_stream.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
cros_mojo_token.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
frame_buffer_allocator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
hal_framebuffer.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
hal_framebuffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
meson.build meson: Don't unnecessarily fallback to libyuv wrap 2024-11-26 19:05:17 +02:00
post_processor.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00