[libcamera-devel] [PATCH 01/10] meson: options: Add option to select the Android platform

Jacopo Mondi jacopo at jmondi.org
Mon Mar 1 16:01:02 CET 2021


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'.

Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
 meson_options.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meson_options.txt b/meson_options.txt
index 53f2675e99e2..d840543b01f5 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')
-- 
2.30.0



More information about the libcamera-devel mailing list