From ad9eee2a7d91cd6113242194b8bc7be905436cb5 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 17 Feb 2021 15:19:33 +0100 Subject: 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 Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- meson_options.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 53f2675e..d840543b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -5,6 +5,12 @@ option('android', 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') -- cgit v1.2.1