libcamera/src/android/mm/meson.build
Jacopo Mondi d8d6a78f22 android: Introduce Chromium OS buffer manager
Introduce the CameraBuffer backend for the Chromium OS operating system
and the associated meson option.

The Chromium OS CameraBuffer implementation uses the
cros::CameraBufferManager class to perform mapping of 1 plane and multiplane
buffers and to retrieve size information.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
2021-03-03 09:50:44 +01:00

9 lines
309 B
Meson

# SPDX-License-Identifier: CC0-1.0
platform = get_option('android_platform')
if platform == 'generic'
android_hal_sources += files(['generic_camera_buffer.cpp'])
elif platform == 'cros'
android_hal_sources += files(['cros_camera_buffer.cpp'])
android_deps += [dependency('libcros_camera')]
endif