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>
This commit is contained in:
parent
6715a31f39
commit
ad9eee2a7d
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@ option('android',
|
||||||
value : 'disabled',
|
value : 'disabled',
|
||||||
description : 'Compile libcamera with Android Camera3 HAL interface')
|
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',
|
option('documentation',
|
||||||
type : 'feature',
|
type : 'feature',
|
||||||
description : 'Generate the project documentation')
|
description : 'Generate the project documentation')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue