While optional, libunwind integration is enabled when meson finds it without having a way to disable it. This is the case for Debian where libunwind is installed by build dependencies. Since we want to reduce dependencies on libunwind in Debian due to several issues with it[0], we need an option to control its activation. [0]: https://bugs.debian.org/1093688 Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [Longer commit message lines, reworded meson option description.] Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
99 lines
2.8 KiB
Meson
99 lines
2.8 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 : ['cros', 'generic'],
|
|
value : 'generic',
|
|
description : 'Select the Android platform to compile for')
|
|
|
|
option('cam',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the cam test application')
|
|
|
|
option('documentation',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Generate the project documentation')
|
|
|
|
option('doc_werror',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Treat documentation warnings as errors')
|
|
|
|
option('gstreamer',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile libcamera GStreamer plugin')
|
|
|
|
option('ipas',
|
|
type : 'array',
|
|
choices : ['ipu3', 'mali-c55', 'rkisp1', 'rpi/pisp', 'rpi/vc4', 'simple',
|
|
'vimc'],
|
|
description : 'Select which IPA modules to build')
|
|
|
|
option('lc-compliance',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the lc-compliance test application')
|
|
|
|
option('libunwind',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable libunwind integration for backtrace generation')
|
|
|
|
option('pipelines',
|
|
type : 'array',
|
|
value : ['auto'],
|
|
choices : [
|
|
'all',
|
|
'auto',
|
|
'imx8-isi',
|
|
'ipu3',
|
|
'mali-c55',
|
|
'rkisp1',
|
|
'rpi/pisp',
|
|
'rpi/vc4',
|
|
'simple',
|
|
'uvcvideo',
|
|
'vimc',
|
|
'virtual'
|
|
],
|
|
description : 'Select which pipeline handlers to build. If this is set to "auto", all the pipelines applicable to the target architecture will be built. If this is set to "all", all the pipelines will be built. If both are selected then "all" will take precedence.')
|
|
|
|
option('pycamera',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable libcamera Python bindings (experimental)')
|
|
|
|
option('qcam',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the qcam test application')
|
|
|
|
option('test',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Compile and include the tests')
|
|
|
|
option('tracing',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable tracing (based on lttng)')
|
|
|
|
option('udev',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Enable udev support for hotplug')
|
|
|
|
option('v4l2',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the V4L2 compatibility layer',
|
|
deprecated : {'true': 'enabled', 'false': 'disabled'})
|