libcamera/meson_options.txt
Jacopo Mondi ad9eee2a7d meson: options: Add option to select the Android platform
The Android Camera3 HAL implementation requires platform
specific extensions, such as the selection of the memory backend
to use and additional constraints depending on the target device.

Define a combo option to select which platform to target and
define the currently existing implementation as 'generic'.

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

45 lines
1.2 KiB
Meson

# SPDX-License-Identifier: CC0-1.0
option('android',
type : 'feature',
value : 'disabled',
description : 'Compile libcamera with Android Camera3 HAL interface')
option('android_platform',
type : 'combo',
choices : ['generic'],
value : 'generic',
description : 'Select the Android platform to compile for')
option('documentation',
type : 'feature',
description : 'Generate the project documentation')
option('gstreamer',
type : 'feature',
value : 'auto',
description : 'Compile libcamera GStreamer plugin')
option('pipelines',
type : 'array',
choices : ['ipu3', 'raspberrypi', 'rkisp1', 'simple', 'uvcvideo', 'vimc'],
description : 'Select which pipeline handlers to include')
option('qcam',
type : 'feature',
value : 'auto',
description : 'Compile the qcam test application')
option('test',
type : 'boolean',
description: 'Compile and include the tests')
option('tracing',
type : 'feature',
value : 'auto',
description: 'Enable tracing (based on lttng)')
option('v4l2',
type : 'boolean',
value : false,
description : 'Compile the V4L2 compatibility layer')