[libcamera-devel] [PATCH 2/5] meson: options: Add 'android' configuration option

Jacopo Mondi jacopo at jmondi.org
Thu Aug 1 17:54:17 CEST 2019


Add an 'android' configuration option, set to false by default, which
enables the compilation of the Android HAL adaption layer on top of
libcamera.

To enable compiling the Camera HAL wrapper in:
$ meson configure -Dandroid=true

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

diff --git a/meson_options.txt b/meson_options.txt
index 97efc85b4412..5fa8176b8e8b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,3 +1,8 @@
+option('android',
+        type : 'boolean',
+	value : false,
+        description : 'Compile libcamera with Android Camera3 HAL interface')
+
 option('documentation',
         type : 'boolean',
         description : 'Generate the project documentation')
-- 
2.22.0



More information about the libcamera-devel mailing list